File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
280280export function IsLatitude ( validationOptions ?: ValidationOptions ) : PropertyDecorator {
281281 return function ( object : Object , propertyName : string ) {
282282 const args : ValidationMetadataArgs = {
283- type : ValidationTypes . IS_LONGITUDE ,
283+ type : ValidationTypes . IS_LATITUDE ,
284284 target : object . constructor ,
285285 propertyName : propertyName ,
286286 validationOptions : validationOptions
@@ -295,7 +295,7 @@ export function IsLatitude(validationOptions?: ValidationOptions): PropertyDecor
295295export function IsLongitude ( validationOptions ?: ValidationOptions ) : PropertyDecorator {
296296 return function ( object : Object , propertyName : string ) {
297297 const args : ValidationMetadataArgs = {
298- type : ValidationTypes . IS_LATITUDE ,
298+ type : ValidationTypes . IS_LONGITUDE ,
299299 target : object . constructor ,
300300 propertyName : propertyName ,
301301 validationOptions : validationOptions
You can’t perform that action at this time.
0 commit comments