File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ export function IsLatLong(validationOptions?: ValidationOptions): PropertyDecora
280
280
export function IsLatitude ( validationOptions ?: ValidationOptions ) : PropertyDecorator {
281
281
return function ( object : Object , propertyName : string ) {
282
282
const args : ValidationMetadataArgs = {
283
- type : ValidationTypes . IS_LONGITUDE ,
283
+ type : ValidationTypes . IS_LATITUDE ,
284
284
target : object . constructor ,
285
285
propertyName : propertyName ,
286
286
validationOptions : validationOptions
@@ -295,7 +295,7 @@ export function IsLatitude(validationOptions?: ValidationOptions): PropertyDecor
295
295
export function IsLongitude ( validationOptions ?: ValidationOptions ) : PropertyDecorator {
296
296
return function ( object : Object , propertyName : string ) {
297
297
const args : ValidationMetadataArgs = {
298
- type : ValidationTypes . IS_LATITUDE ,
298
+ type : ValidationTypes . IS_LONGITUDE ,
299
299
target : object . constructor ,
300
300
propertyName : propertyName ,
301
301
validationOptions : validationOptions
You can’t perform that action at this time.
0 commit comments