mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-05 10:22:31 +01:00
Return entire guild object in POST /guilds
This commit is contained in:
parent
60394d8c43
commit
e545edad94
@ -72,7 +72,7 @@ router.post(
|
||||
|
||||
await Member.addToGuild(req.user_id, guild.id);
|
||||
|
||||
res.status(201).json({ id: guild.id });
|
||||
res.status(201).json(guild);
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user