🚧 move to uuidV4
This commit is contained in:
parent
a0e6424d48
commit
091b455460
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue