summary refs log tree commit diff
path: root/src/api/routes/webhooks
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-14 03:59:28 +0100
committerRory& <root@rory.gay>2026-03-14 03:59:28 +0100
commita451f92e67ee51136d4841fdda6befe8629a298b (patch)
tree822c6a6f1e5338ea013b92fae5e149163760ec97 /src/api/routes/webhooks
parentlambert-server: remove unused code (diff)
downloadserver-ts-a451f92e67ee51136d4841fdda6befe8629a298b.tar.xz
properly mark unused params
Diffstat (limited to 'src/api/routes/webhooks')
-rw-r--r--src/api/routes/webhooks/#webhook_id/#token/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/webhooks/#webhook_id/#token/index.ts b/src/api/routes/webhooks/#webhook_id/#token/index.ts

index 556ee489f..1dd2dac43 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/index.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/index.ts
@@ -149,6 +149,7 @@ router.patch( }, }), async (req: Request, res: Response) => { + // noinspection JSUnusedLocalSymbols - TODO: shouldnt token be checked? const { webhook_id, token } = req.params as { [key: string]: string }; const body = req.body as WebhookUpdateSchema;