summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorCyberL1 <cyber.hf18@gmail.com>2025-10-28 16:53:06 +0100
committerCyberL1 <cyber.hf18@gmail.com>2025-10-28 16:53:06 +0100
commit180200dc9cd6034a7b32531d8e430c2690a1cfe0 (patch)
treea5af72c23b223168f8c489a0dc0e3fb6ce8ff740 /src/api
parentfix: check if components are beetwen 1 to 5 in each row (diff)
downloadserver-ts-180200dc9cd6034a7b32531d8e430c2690a1cfe0.tar.xz
chore: remove solved TODO comment
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts

index a91326db..5f88f786 100644 --- a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts +++ b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts
@@ -26,7 +26,6 @@ const router = Router({ mergeParams: true }); router.post("/", route({}), async (req: Request, res: Response) => { const body = req.body as InteractionCallbackSchema; - // TODO: Only one error is ever returned. That's not the case on discord's side const errors: Record<string, { code?: string; message: string }> = {}; for (const row of body.data.components || []) {