1
0
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:
Madeline 2023-05-30 20:09:03 +10:00
parent 60394d8c43
commit e545edad94
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -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);
},
);