Skip to content

Commit

Permalink
Fix latitude validation
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Apr 22, 2024
1 parent 23f0610 commit fa2cd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centre-registry-app/centre_registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def is_valid_latitude(latitude):

def validate_latitude(latitude):
try:
if is_valid_longitude(parse_decimal_degree(latitude)):
if is_valid_latitude(parse_decimal_degree(latitude)):
return
except Exception as exception:
raise ValidationError(
Expand Down

0 comments on commit fa2cd3d

Please sign in to comment.