Skip to content

Commit

Permalink
fix: Fixed an incorrect type hint. (#50)
Browse files Browse the repository at this point in the history
Signed-off-by: Tan <[email protected]>
  • Loading branch information
Tanyuu authored Jul 21, 2023
1 parent a38cea6 commit 40e0f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/casdoor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_oauth_token(
code: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None
) -> str:
) -> dict:
"""
Request the Casdoor server to get OAuth token.
Must be set code or username and password for grant type.
Expand Down

0 comments on commit 40e0f88

Please sign in to comment.