GetUser() bug, cannot parse response
xqbumu opened this issue · comments
use GetUser method to get details of the user, and Casdoor returns the content as follows
{
"owner": "org-xxx",
"name": "xxxxxx",
"createdTime": ""
...
}
but in
Line 62 in eb61888
The returned content will be Unmarshal to auth.Response first, which is inconsistent with the json format returned by Casdoor, so the user details cannot be actually obtained from GetUser.
casdoor version: v1.45.0
casdoor-go-sdk version: v0.4.0
🎉 This issue has been resolved in version 0.4.1 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀