diff --git a/drama/routes/errors.py b/drama/routes/errors.py index dc9452eb6..b6a094a81 100644 --- a/drama/routes/errors.py +++ b/drama/routes/errors.py @@ -27,7 +27,7 @@ def error_401(e): else: return redirect(output) -@app.errorhandler(PaymentRequired) +@app.errorhandler(402) @auth_desired @api() def error_402(e, v):