diff options
author | Puyodead1 <puyodead@proton.me> | 2023-12-14 22:09:25 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-12-14 22:09:25 -0500 |
commit | 6a4fd5fbdb4791f37065c96173bdfacd561a825b (patch) | |
tree | 958c020da5e0ef0376808f8a3d9308b1e07cd3bd /src/api | |
parent | GuildMemberPatch: remove a useless query (diff) | |
download | server-6a4fd5fbdb4791f37065c96173bdfacd561a825b.tar.xz |
add new right for creating registration tokens
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/routes/auth/generate-registration-tokens.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/generate-registration-tokens.ts b/src/api/routes/auth/generate-registration-tokens.ts index 80fdaed1..50c389e0 100644 --- a/src/api/routes/auth/generate-registration-tokens.ts +++ b/src/api/routes/auth/generate-registration-tokens.ts @@ -38,7 +38,7 @@ router.get( "The length of each registration token. Defaults to 255.", }, }, - right: "OPERATOR", + right: "CREATE_REGISTRATION_TOKENS", responses: { 200: { body: "GenerateRegistrationTokensResponse" } }, }), async (req: Request, res: Response) => { |