Fix logging for API calls

This commit is contained in:
2011-05-31 21:54:21 +01:00
parent 7200ab9571
commit 39b2d4c671

View File

@@ -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: