summary refs log tree commit diff
path: root/src/api/routes/webhooks/#webhook_id/#token/github.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-30 07:14:10 +0200
committerRory& <root@rory.gay>2025-09-30 07:14:10 +0200
commitd647f882b179bdaba8311717563d83fddc52a3dd (patch)
treef8ff4f64dca4aa90d8567e04dba64500d05efe50 /src/api/routes/webhooks/#webhook_id/#token/github.ts
parentFix nix package (diff)
downloadserver-ts-d647f882b179bdaba8311717563d83fddc52a3dd.tar.xz
Pass mergeParams: true to new router calls due to express behavior change
Diffstat (limited to 'src/api/routes/webhooks/#webhook_id/#token/github.ts')
-rw-r--r--src/api/routes/webhooks/#webhook_id/#token/github.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/webhooks/#webhook_id/#token/github.ts b/src/api/routes/webhooks/#webhook_id/#token/github.ts

index 1938ba1b..f5d098b3 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/github.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/github.ts
@@ -4,7 +4,7 @@ import { NextFunction, Request, Response, Router } from "express"; import { HTTPError } from "lambert-server"; import { executeWebhook } from "../../../../util/handlers/Webhook"; -const router = Router(); +const router = Router({ mergeParams: true }); const parseGitHubWebhook = ( req: Request,