diff --git a/bookwyrm/views/status.py b/bookwyrm/views/status.py index 119842cb..0ead2d01 100644 --- a/bookwyrm/views/status.py +++ b/bookwyrm/views/status.py @@ -41,7 +41,7 @@ class CreateStatus(View): return HttpResponseBadRequest() if not form.is_valid(): if is_api_request(request): - return HttpResponse(status_code=500) + return HttpResponse(status=500) return redirect(request.headers.get("Referer", "/")) status = form.save(commit=False)