Skip to content

Commit

Permalink
Merge pull request #2 from exvas/feature-attn-location
Browse files Browse the repository at this point in the history
refactor:remove static values
  • Loading branch information
BibinVinoy authored Jun 12, 2024
2 parents 04dac3a + 0993dfd commit 27e6c74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geolocation/doc_events/employee_checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import requests

def validate(doc, methods=None):
doc.latitude = 9.968577
doc.longitude = 76.303978
if doc.latitude and doc.longitude and not doc.custom_location:
url = "https://nominatim.openstreetmap.org/reverse?lat={lat}&lon={lon}&format=json".format(
lat = doc.latitude,
Expand Down

0 comments on commit 27e6c74

Please sign in to comment.