use uuid7

This commit is contained in:
Philipinho
2024-06-27 01:53:32 +01:00
parent 723928d678
commit aea37eecda
17 changed files with 89 additions and 28 deletions

View File

@ -28,7 +28,7 @@ export class InviteUserDto {
message: 'you cannot add invited users to more than 25 groups at a time',
})
@ArrayMinSize(0)
@IsUUID(4, { each: true })
@IsUUID('all', { each: true })
groupIds: string[];
@IsEnum(UserRole)