Skip to content

Commit

Permalink
Update routes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Dec 18, 2024
1 parent 6ff3c2e commit d880306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hushline/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def directory_users() -> list[dict[str, str | bool | None]]:

@app.route("/vision")
@authentication_required
def vision() -> str:
def vision() -> str | Response:
user = db.session.get(User, session.get("user_id"))
if not user:
flash("⛔️ Please log in to access this feature.")
Expand Down

0 comments on commit d880306

Please sign in to comment.