Skip to content

Commit 22c142a

Browse files
authored
feat: fix bug to change getUserInfo() API's method from POST to GET (#46)
1 parent 90f7556 commit 22c142a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/casdoor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class Casdoor {
171171
}
172172

173173
Future<http.Response> getUserInfo(String accessToken) async {
174-
return await http.post(
174+
return await http.get(
175175
Uri(
176176
scheme: parseScheme(),
177177
host: parseHost(),

0 commit comments

Comments
 (0)