mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 17:32:30 +00:00
[Route] POST /guilds/:id/roles
This commit is contained in:
1 parent
184da82158
commit
ee258832d0
1 file changed
-1
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user