mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
(api): fix some issues
This commit is contained in:
parent
e642b6194a
commit
5c4774a6f9
@ -10,7 +10,6 @@ import {
|
||||
Snowflake,
|
||||
User
|
||||
} from "@fosscord/util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
import { route } from "@fosscord/api";
|
||||
|
||||
const router = Router();
|
||||
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user