Skip to content

Commit

Permalink
feat: fix bug to change getUserInfo() API's method from POST to GET (#46
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zHElEARN authored Dec 28, 2024
1 parent 90f7556 commit 22c142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/casdoor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class Casdoor {
}

Future<http.Response> getUserInfo(String accessToken) async {
return await http.post(
return await http.get(
Uri(
scheme: parseScheme(),
host: parseHost(),
Expand Down

0 comments on commit 22c142a

Please sign in to comment.