File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
api/ruby/building-your-first-github-app Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class GHAapp < Sinatra::Application
86
86
# This is the webhook endpoint that GH will call with events, and hence where we will do our event handling
87
87
#
88
88
89
- post '/event_handler ' do
89
+ post '/' do
90
90
request . body . rewind
91
91
payload_raw = request . body . read # We need the raw text of the body to check the webhook signature
92
92
begin
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class GHAapp < Sinatra::Application
95
95
# This is the webhook endpoint that GH will call with events, and hence where we will do our event handling
96
96
#
97
97
98
- post '/event_handler ' do
98
+ post '/' do
99
99
request . body . rewind
100
100
payload_raw = request . body . read # We need the raw text of the body to check the webhook signature
101
101
begin
You can’t perform that action at this time.
0 commit comments