fix: displayName return undefined and drop displayName from user table (#505)
This commit is contained in:
@@ -24,11 +24,6 @@ export class UserUncheckedCreateInput {
|
||||
@Validator.IsString()
|
||||
lastName!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
displayName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
Reference in New Issue
Block a user