diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-01-25 00:30:16 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-01-25 00:30:16 +0800 |
commit | 5c525c1eef8de8c94a47316b23c23bd23ce54922 (patch) | |
tree | fbb02ae943bf0af235805ef0ae281d1f64cf2ff0 | |
parent | Merge branch 'fosscord:master' into master (diff) | |
download | server-5c525c1eef8de8c94a47316b23c23bd23ce54922.tar.xz |
change line
-rw-r--r-- | api/src/routes/guilds/#guild_id/members/#member_id/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) => { |