mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-23 19:02:37 +01:00
change line
This commit is contained in:
parent
cf2f04de28
commit
b8a14b0d18
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user