From b8a14b0d18a2edd5f01a0441bf74e52e2c79a956 Mon Sep 17 00:00:00 2001 From: Featyre Date: Tue, 25 Jan 2022 00:30:16 +0800 Subject: [PATCH] change line --- api/src/routes/guilds/#guild_id/members/#member_id/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/routes/guilds/#guild_id/members/#member_id/index.ts b/api/src/routes/guilds/#guild_id/members/#member_id/index.ts index 18a6ed4b..24c74af7 100644 --- a/api/src/routes/guilds/#guild_id/members/#member_id/index.ts +++ b/api/src/routes/guilds/#guild_id/members/#member_id/index.ts @@ -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) => {