pull/618/head
Usama015 2023-06-20 14:42:35 +05:00
parent d3d772a225
commit 0c9550fae5
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def handler(q=False):
if q is False:
return False
request = json.loads(q)
if request.get('config'):
if not request.get('config'):
return {'error' : 'IpGeolocation Configuration is missing'}
if not request['config'].get('apiKey'):
return {'error' : 'IpGeolocation apiKey is missing'}