diff --git a/waiverdb/api_v1.py b/waiverdb/api_v1.py index 2568b0a8..4b63fac3 100644 --- a/waiverdb/api_v1.py +++ b/waiverdb/api_v1.py @@ -385,7 +385,7 @@ def get(self): :statuscode 200: The HTML with the form is returned. """ - warning = request.args.get("error") or _authorization_warning(request) + warning = _authorization_warning(request) html = render_template( 'new_waiver.html', warning=warning,