summary refs log tree commit diff
path: root/api/src/routes/guilds/#guild_id/emoji.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/guilds/#guild_id/emoji.ts')
-rw-r--r--api/src/routes/guilds/#guild_id/emoji.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/api/src/routes/guilds/#guild_id/emoji.ts b/api/src/routes/guilds/#guild_id/emoji.ts
index 6b194f7b..000c9949 100644
--- a/api/src/routes/guilds/#guild_id/emoji.ts
+++ b/api/src/routes/guilds/#guild_id/emoji.ts
@@ -10,7 +10,6 @@ import {
 	Snowflake,
 	User
 } from "@fosscord/util";
-import { HTTPError } from "lambert-server";
 import { route } from "@fosscord/api";
 
 const router = Router();
@@ -75,7 +74,7 @@ router.post("/", route({ body: "EmojiCreateSchema", permission: "MANAGE_EMOJIS_A
         ...body,
         user: user,
         managed: false,
-        animated: false, // TODO: Add support  animated emojis
+        animated: false, // TODO: Add support animated emojis
         available: true
     });
 
@@ -108,7 +107,7 @@ router.patch("/:emoji_id", route({ body: "EmojiModifySchema", permission: "MANAG
                 emojis: await Emoji.find({ guild_id: guild_id })
             }
         } as GuildEmojiUpdateEvent)
-    ])
+    ]);
 
     return res.json(emoji);
 });