FIX: resend invite endpoint renamed

This commit is contained in:
Arthur Simas
2022-07-27 19:35:25 -03:00
parent 97b6047cf1
commit e20ae71672
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export class BatchCreateUserReq {
}
class ErrorUsers {
@ApiProperty({ type: [CreateUserReq] })
@ApiProperty()
user: CreateUserReq;
@ApiProperty()
error: string;
+1 -1
View File
@@ -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(