summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-13 20:30:13 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-13 20:30:13 +1000
commitf5943cec8d6be10f6ec050ca96ee7eac9e7e8fbd (patch)
tree35dc657e127533f8fe139adc6c842de15356ae51 /api/src
parentMerge branch 'maddyrtc' into slowcord (diff)
downloadserver-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.ts2
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;