From ac1628e2bad3cf3c8c5ba455eaabb4efa011a1ac Mon Sep 17 00:00:00 2001 From: anhtuan-bic Date: Wed, 26 Nov 2025 15:17:43 +0700 Subject: [PATCH] feat: mark user email to optional --- src/user.dto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/user.dto.ts b/src/user.dto.ts index 3129f1f..aa584fe 100644 --- a/src/user.dto.ts +++ b/src/user.dto.ts @@ -38,7 +38,7 @@ export class UserDto { primaryId?: string; username: string; fullname: string; - email: string; + email?: string; avatar: string; chatId: string; beinStaffRole: USER_STAFF_ROLE; @@ -51,7 +51,7 @@ export class UserDto { description: string; gender: USER_GENDER; language: string[]; - phone: string; + phone?: string; relationshipStatus: USER_RELATIONSHIP_STATUS; isDeactivated: boolean; isVerified: boolean;