mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
FIX: resend invite endpoint renamed
This commit is contained in:
@@ -81,7 +81,7 @@ export class BatchCreateUserReq {
|
||||
}
|
||||
|
||||
class ErrorUsers {
|
||||
@ApiProperty({ type: [CreateUserReq] })
|
||||
@ApiProperty()
|
||||
user: CreateUserReq;
|
||||
@ApiProperty()
|
||||
error: string;
|
||||
|
||||
@@ -159,7 +159,7 @@ export class UsersController {
|
||||
return await this.userService.batchCreateUser(body);
|
||||
}
|
||||
|
||||
@Post(':id')
|
||||
@Post(':id/resend-invite')
|
||||
@RequireAllPermissions(PERMISSIONS.USERS.permissions.ADMIN)
|
||||
@HttpCode(HttpStatus.OK)
|
||||
async resendInvite(
|
||||
|
||||
Reference in New Issue
Block a user