mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Only require a service ID when asking for user specific info
This commit is contained in:
@@ -25,7 +25,7 @@ def retrieve_xml(request):
|
|||||||
# If they don't provide any kind of query, shoot a quick error message.
|
# If they don't provide any kind of query, shoot a quick error message.
|
||||||
return HttpResponse('No API query specified.')
|
return HttpResponse('No API query specified.')
|
||||||
|
|
||||||
if not 'service' in params:
|
if 'userID' in params and not 'service' in params:
|
||||||
return HttpResponse('No Service ID provided.')
|
return HttpResponse('No Service ID provided.')
|
||||||
|
|
||||||
# The query system will retrieve a cached_doc that was either previously
|
# The query system will retrieve a cached_doc that was either previously
|
||||||
|
|||||||
Reference in New Issue
Block a user