Correct argument name when proxy view fails

This commit is contained in:
Jake Howard 2024-03-10 15:25:48 +00:00
parent 1a9d981c7d
commit e5de558958
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -66,4 +66,4 @@ def activitypub_proxy(request: HttpRequest) -> HttpResponse:
try:
return proxy_view(request, activitypub_url)
except RequestException:
return HttpResponse(status_code=502)
return HttpResponse(status=502)