Skip to content

Commit

Permalink
fix typo in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matyson committed Apr 25, 2024
1 parent 88cb6d2 commit b2ecd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@


async def verify_token(token: Annotated[str, Security(token_scheme)]):
if token not in config.api_tokens:
if token not in config.api_token:
raise HTTPException(status_code=403, detail="Unauthorized!")

0 comments on commit b2ecd3f

Please sign in to comment.