Fix the broken delete API

This commit is contained in:
MathMan05 authored and GitHub committed 2024-10-29 17:42:52 -05:00
1 parent 12adca64b4
commit 6a0d0f4185
1 file changed
+1 -1
@@ -113,7 +113,7 @@ router.delete(
if (!channel.guild_id) throw new HTTPError("Channel not found", 404);
channel.permission_overwrites = channel.permission_overwrites?.filter(
(x) => x.id === overwrite_id,
(x) => x.id !== overwrite_id,
);
await Promise.all([