Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
add error message to kikar/get_statuses endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Mar 19, 2017
1 parent f7e8d3b commit fba45f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kikar/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def get_statuses(request):
request_params = request.GET.dict()
request_path = request_params.get('request_path')
if not request_path:
return HttpResponseBadRequest()
return HttpResponseBadRequest("Bad request: missing request_path param")

url = KIKAR_URL_BASE + request_params.pop('request_path')
if 'filter' in request_params:
Expand Down

0 comments on commit fba45f1

Please sign in to comment.