mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
correct right name
This commit is contained in:
1 parent
2c0d2f40c8
commit
271574bb38
1 file changed
+1
-1
@@ -19,7 +19,7 @@ export interface InviteCreateSchema {
|
||||
target_user_type?: number;
|
||||
}
|
||||
|
||||
router.post("/", route({ body: "InviteCreateSchema", permission: "CREATE_INSTANT_INVITE", right: "CREATE_INSTANT_INVITE" }),
|
||||
router.post("/", route({ body: "InviteCreateSchema", permission: "CREATE_INVITES", right: "CREATE_INSTANT_INVITE" }),
|
||||
async (req: Request, res: Response) => {
|
||||
const { user_id } = req;
|
||||
const { channel_id } = req.params;
|
||||
|
||||
Reference in new issue
Block a user