Skip to content

Commit 4cb2cf9

Browse files
author
Andy McKay
authored
Update server.rb
Fix typo in logger
1 parent 478c682 commit 4cb2cf9

File tree

1 file changed

+1
-1
lines changed
  • api/ruby/building-your-first-github-app

1 file changed

+1
-1
lines changed

api/ruby/building-your-first-github-app/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class GHAapp < Sinatra::Application
120120
# Determine what kind of event this is, and take action as appropriate
121121
# TODO we assume that GitHub will always provide an X-GITHUB-EVENT header in this case, which is a reasonable
122122
# assumption, however we should probably be more careful!
123-
logger.debug "---- recevied event #{request.env['HTTP_X_GITHUB_EVENT']}"
123+
logger.debug "---- received event #{request.env['HTTP_X_GITHUB_EVENT']}"
124124
logger.debug "---- action #{payload['action']}" unless payload['action'].nil?
125125

126126
case request.env['HTTP_X_GITHUB_EVENT']

0 commit comments

Comments
 (0)