File tree Expand file tree Collapse file tree
api/ruby/building-your-first-github-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class GHAapp < Sinatra::Application
8686# This is the webhook endpoint that GH will call with events, and hence where we will do our event handling
8787#
8888
89- post '/event_handler ' do
89+ post '/' do
9090 request . body . rewind
9191 payload_raw = request . body . read # We need the raw text of the body to check the webhook signature
9292 begin
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class GHAapp < Sinatra::Application
9595# This is the webhook endpoint that GH will call with events, and hence where we will do our event handling
9696#
9797
98- post '/event_handler ' do
98+ post '/' do
9999 request . body . rewind
100100 payload_raw = request . body . read # We need the raw text of the body to check the webhook signature
101101 begin
You can’t perform that action at this time.
0 commit comments