Skip to content

Commit 8b34991

Browse files
authored
Updated error handler
1 parent 97004de commit 8b34991

File tree

1 file changed

+1
-1
lines changed
  • curriculum/section13/lectures/03_logging_in_users/end/app

1 file changed

+1
-1
lines changed

curriculum/section13/lectures/03_logging_in_users/end/app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ def signup():
6060

6161

6262
@app.errorhandler(401)
63-
def auth_error():
63+
def auth_error(error):
6464
return "Not authorized"

0 commit comments

Comments
 (0)