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: fix bug to change getUserInfo() API's method from POST to GET #46

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

zHElEARN
Copy link
Contributor

@zHElEARN zHElEARN commented Dec 28, 2024

Fix: #45

This PR fixes the getUserInfo method to use GET instead of POST, aligning with the [Swagger API documentation](https://demo.casdoor.com/swagger/#/Account%20API/ApiController.UserInfo). This resolves the "Unauthorized operation" error described in issue #45.

@CLAassistant
Copy link

CLAassistant commented Dec 28, 2024

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz changed the title Fix: Change getUserInfo request method from POST to GET feat: fix bug to change getUserInfo() API's method from POST to GET Dec 28, 2024
@hsluoyz hsluoyz merged commit 22c142a into casdoor:master Dec 28, 2024
7 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 28, 2024
# [1.7.0](v1.6.0...v1.7.0) (2024-12-28)

### Features

* fix bug to change getUserInfo() API's method from POST to GET ([#46](#46)) ([22c142a](22c142a))
@hsluoyz
Copy link
Member

hsluoyz commented Dec 28, 2024

🎉 This PR is included in version 1.7.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.

Casdoor.getUserInfo not working
3 participants