From 40e0f88c556e08ca25a02e805f9b8d60f07f884b Mon Sep 17 00:00:00 2001 From: Tan <75737870+Tanyuu@users.noreply.github.com> Date: Sat, 22 Jul 2023 00:40:03 +0800 Subject: [PATCH] fix: Fixed an incorrect type hint. (#50) Signed-off-by: Tan <2912363476@qq.com> --- src/casdoor/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/casdoor/main.py b/src/casdoor/main.py index fae1427..b9f9ee9 100644 --- a/src/casdoor/main.py +++ b/src/casdoor/main.py @@ -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.