summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts2
1 files changed, 1 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 385a1044..b7187cf7 100644 --- a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts +++ b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts
@@ -125,7 +125,7 @@ router.post("/", route({}), async (req: Request, res: Response) => { }, 30000); pendingInteractions.delete(interactionId); res.sendStatus(204); - break; + return; case InteractionCallbackType.UPDATE_MESSAGE: { if (!interaction.mesageId) throw new HTTPError("no. That was not a message");