mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
[Route] POST /guilds/:id/roles
This commit is contained in:
parent
184da82158
commit
ee258832d0
@ -47,7 +47,6 @@ router.post("/", check(RoleCreateSchema), async (req: Request, res: Response) =>
|
||||
}
|
||||
|
||||
const roleNew = await new RoleModel(role).save();
|
||||
|
||||
res.json(toObject(roleNew)).send();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user