move to required ids

This commit is contained in:
rubikscraft
2022-04-01 12:04:49 +02:00
parent c6d1206e29
commit 9bcf09ff4f
18 changed files with 48 additions and 54 deletions

View File

@@ -28,7 +28,7 @@ export class NameRolesUser extends UsernameUser {
// Actual entity that goes in the db
export class EUser extends NameRolesUser {
@EntityID()
id?: string;
id: string;
@IsOptional()
@Exclude()