mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 20:29:27 +00:00
Fix logging for API calls
This commit is contained in:
@@ -112,7 +112,7 @@ class EveAPIProxyHandler(BaseHandler):
|
||||
params['apikey'] = obj.api_key
|
||||
|
||||
try:
|
||||
cached_doc = CachedDocument.objects.api_query(url_path, params, service=request.api_key.description)
|
||||
cached_doc = CachedDocument.objects.api_query(url_path, params, service=request.api_key.name)
|
||||
except DocumentRetrievalError, exc:
|
||||
return HttpResponse(exc, status=500)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user