Skip to content

Commit

Permalink
chore: ignore mypy error as we only load this blueprint if the auth e…
Browse files Browse the repository at this point in the history
…xtension is available
  • Loading branch information
Thomas Neidhart committed Feb 27, 2025
1 parent 40ba66d commit ef688fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otterdog/webapp/auth/routes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *******************************************************************************
# Copyright (c) 2024 Eclipse Foundation and others.
# Copyright (c) 2024-2025 Eclipse Foundation and others.
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License 2.0
# which is available at http://www.eclipse.org/legal/epl-v20.html
Expand Down Expand Up @@ -38,7 +38,7 @@ async def logout():


@blueprint.route("/github/authorized")
@oauth_github.authorized_handler
@oauth_github.authorized_handler # type: ignore
async def authorized(oauth_token):
next_url = url_for("home_blueprint.index")
if oauth_token is None:
Expand Down

0 comments on commit ef688fa

Please sign in to comment.