File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,17 +84,17 @@ async function init() {
8484init ( ) . catch ( ( err ) => errors . push ( err ) ) ;
8585
8686const BAD_REQUEST = 400 ;
87- const server = Http . createServer ( async ( _req , res ) => {
88- if ( _req . url ?. startsWith ( '/githubWebhook' ) ) {
87+ const server = Http . createServer ( async ( req , res ) => {
88+ if ( req . url ?. startsWith ( '/githubWebhook' ) ) {
8989 const chunks = [ ] ;
90- for await ( const chunk of _req ) {
90+ for await ( const chunk of req ) {
9191 chunks . push ( chunk ) ;
9292 }
9393
9494 try {
9595 const body = JSON . parse ( Buffer . concat ( chunks ) . toString ( ) ) ;
9696
97- const { statusCode } = await handleGithubWebhook ( _req . url , body ) ;
97+ const { statusCode } = await handleGithubWebhook ( req . url , body ) ;
9898
9999 res . statusCode = statusCode ;
100100 res . end ( ) ;
You can’t perform that action at this time.
0 commit comments