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