🚧 move to uuidV4
This commit is contained in:
		@@ -24,7 +24,7 @@ export class CreateUser {
 | 
			
		||||
    @IsInt()
 | 
			
		||||
    @IsOptional()
 | 
			
		||||
    groupId?: number[] | number
 | 
			
		||||
    @IsUUID("5")
 | 
			
		||||
    @IsUUID("4")
 | 
			
		||||
    uuid: string;
 | 
			
		||||
 | 
			
		||||
    public async toUser(): Promise<User> {
 | 
			
		||||
 
 | 
			
		||||
@@ -18,9 +18,9 @@ export class User {
 | 
			
		||||
  id: number;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
  * autogenerated uuid
 | 
			
		||||
  * uuid
 | 
			
		||||
  */
 | 
			
		||||
  @IsUUID("5")
 | 
			
		||||
  @IsUUID("4")
 | 
			
		||||
  uuid: string;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user