mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-26 06:09:41 +00:00
feat: kyc process
This commit is contained in:
@ -21,6 +21,9 @@ export class UserResponseDto {
|
||||
@ApiProperty()
|
||||
lastName!: string;
|
||||
|
||||
@ApiProperty()
|
||||
dateOfBirth!: Date;
|
||||
|
||||
@ApiPropertyOptional({ type: DocumentMetaResponseDto, nullable: true })
|
||||
profilePicture!: DocumentMetaResponseDto | null;
|
||||
|
||||
@ -34,7 +37,7 @@ export class UserResponseDto {
|
||||
this.id = user.id;
|
||||
this.countryCode = user.countryCode;
|
||||
this.phoneNumber = user.phoneNumber;
|
||||
|
||||
this.dateOfBirth = user.customer?.dateOfBirth;
|
||||
this.email = user.email;
|
||||
this.firstName = user.firstName;
|
||||
this.lastName = user.lastName;
|
||||
|
Reference in New Issue
Block a user