1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 19:02:37 +01:00

change line

This commit is contained in:
Featyre 2022-01-25 00:30:16 +08:00
parent cf2f04de28
commit b8a14b0d18

View File

@ -61,8 +61,8 @@ router.put("/", route({}), async (req: Request, res: Response) => {
var stickers = await Sticker.find({
where: { guild_id: guild_id } });
res.send({...guild, emojis: emoji, roles: roles, stickers: stickers});
await Member.addToGuild(member_id, guild_id);
res.send({...guild, emojis: emoji, roles: roles, stickers: stickers});
});
router.delete("/", route({ permission: "KICK_MEMBERS" }), async (req: Request, res: Response) => {