updated IPGeolocation Module

pull/618/head
Usama015 2023-06-19 13:52:55 +05:00
parent c8de950188
commit 78a60d8e96
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def handler(q=False):
misperrors['error'] = 'IpGeolocation apiKey is missing'
return misperrors
if request.get('ip-src'):
if request.get('ip-dst'):
ip = request['ip-dst']
apiKey = request['config']['apiKey']
return handle_ip(apiKey, ip, misperrors)