diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-13 20:30:13 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-13 20:30:13 +1000 |
commit | f5943cec8d6be10f6ec050ca96ee7eac9e7e8fbd (patch) | |
tree | 35dc657e127533f8fe139adc6c842de15356ae51 /api/src | |
parent | Merge branch 'maddyrtc' into slowcord (diff) | |
download | server-f5943cec8d6be10f6ec050ca96ee7eac9e7e8fbd.tar.xz |
/channel/:id/messages/:id/ack responds with { token: null } on discord.com
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/channels/#channel_id/messages/#message_id/ack.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/channels/#channel_id/messages/#message_id/ack.ts b/api/src/routes/channels/#channel_id/messages/#message_id/ack.ts index 885c5eca..1e3564d8 100644 --- a/api/src/routes/channels/#channel_id/messages/#message_id/ack.ts +++ b/api/src/routes/channels/#channel_id/messages/#message_id/ack.ts @@ -35,7 +35,7 @@ router.post("/", route({ body: "MessageAcknowledgeSchema" }), async (req: Reques } } as MessageAckEvent); - res.sendStatus(204); + res.json({ token: null }); }); export default router; |