Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: unmarshal data from response model #73

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

wintbiit
Copy link
Contributor

formatted with gofumpt
solved: #71

Need to mention that in casdoor /api/get-sorted-users and /api/get-user-count reponse are not replaced by responseOk. So in sdk I left them unchanged in my commit. Is this already enough or get-sorted-users and get-user-count will be changed later?

@casbin-bot
Copy link

@seriouszyx @ComradeProgrammer @Resulte please review

@wintbiit
Copy link
Contributor Author

replaced #72 because of commit msg error

@wintbiit wintbiit changed the title feat: unmarshal data from response model fix: unmarshal data from response model Jul 23, 2023
@hsluoyz
Copy link
Member

hsluoyz commented Jul 23, 2023

@WinterOfBit those two functions also need to be wrapped with Response. Fixed by: casdoor/casdoor@516f4b7

append GetUserCount & GetSortedUsers edition
@wintbiit
Copy link
Contributor Author

@WinterOfBit those two functions also need to be wrapped with Response. Fixed by: casdoor/casdoor@516f4b7

@hsluoyz added

@hsluoyz hsluoyz changed the title fix: unmarshal data from response model feat: unmarshal data from response model Jul 23, 2023
@hsluoyz hsluoyz merged commit d22cad0 into casdoor:master Jul 23, 2023
2 checks passed
@github-actions
Copy link

🎉 This PR is included in version 0.26.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants