update user address
This commit is contained in:
@@ -15,12 +15,12 @@ export class CreateUserAddressDto {
|
|||||||
|
|
||||||
@ApiProperty({ description: 'City name', example: 'Tehran' })
|
@ApiProperty({ description: 'City name', example: 'Tehran' })
|
||||||
@IsString()
|
@IsString()
|
||||||
city!: string;
|
city: string;
|
||||||
|
|
||||||
@ApiPropertyOptional({ description: 'Province', example: 'Tehran Province' })
|
@ApiPropertyOptional({ description: 'Province', example: 'Tehran Province' })
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
province?: string;
|
province: string;
|
||||||
|
|
||||||
@ApiPropertyOptional({ description: 'Postal/ZIP code', example: '12345-6789' })
|
@ApiPropertyOptional({ description: 'Postal/ZIP code', example: '12345-6789' })
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ export interface UserAddressData {
|
|||||||
title: string;
|
title: string;
|
||||||
address: string;
|
address: string;
|
||||||
city: string;
|
city: string;
|
||||||
province?: string;
|
province: string;
|
||||||
postalCode?: string;
|
postalCode?: string;
|
||||||
latitude: number;
|
latitude: number;
|
||||||
longitude: number;
|
longitude: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user