update user address

This commit is contained in:
2026-02-16 10:36:51 +03:30
parent 77a584bf43
commit 218e1edebe
2 changed files with 3 additions and 3 deletions
@@ -15,12 +15,12 @@ export class CreateUserAddressDto {
@ApiProperty({ description: 'City name', example: 'Tehran' })
@IsString()
city!: string;
city: string;
@ApiPropertyOptional({ description: 'Province', example: 'Tehran Province' })
@IsOptional()
@IsString()
province?: string;
province: string;
@ApiPropertyOptional({ description: 'Postal/ZIP code', example: '12345-6789' })
@IsOptional()
+1 -1
View File
@@ -3,7 +3,7 @@ export interface UserAddressData {
title: string;
address: string;
city: string;
province?: string;
province: string;
postalCode?: string;
latitude: number;
longitude: number;