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

fix(core): add hasPassword field to user API response #6543

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

xiaoyijun
Copy link
Contributor

@xiaoyijun xiaoyijun commented Sep 3, 2024

Summary

In the original implementation, hasPassword field is mentioned in the API doc, but missing in API response.
This PR fix this issue.

Testing

Test locally and all UT & IT passed.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@xiaoyijun xiaoyijun requested a review from a team September 3, 2024 11:44
@xiaoyijun xiaoyijun self-assigned this Sep 3, 2024
@github-actions github-actions bot added the bugfix label Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

COMPARE TO master

Total Size Diff 📈 +1.92 KB

Diff by File
Name Diff
.changeset/polite-bats-learn.md 📈 +80 Bytes
packages/core/src/mocks/user.ts 📈 +5 Bytes
packages/core/src/routes/admin-user/basics.ts 📈 +31 Bytes
packages/core/src/routes/admin-user/search.test.ts 📈 +40 Bytes
packages/core/src/routes/admin-user/search.ts 📈 +30 Bytes
packages/core/src/routes/admin-user/social.ts 📈 +37 Bytes
packages/core/src/routes/role.user.ts 📈 +37 Bytes
packages/core/src/utils/user.ts 📈 +1.08 KB
packages/integration-tests/src/helpers/user.ts 📈 +60 Bytes
packages/integration-tests/src/tests/api/admin-user.test.ts 📈 +119 Bytes
packages/integration-tests/src/tests/api/organization/organization-user.test.ts 📈 +484 Bytes

@github-actions github-actions bot added the size/m label Sep 3, 2024
@xiaoyijun xiaoyijun force-pushed the xiaoyijun-core-return-has-password-value branch from c1eb42c to 32ac855 Compare September 3, 2024 13:03
packages/core/src/utils/user.ts Outdated Show resolved Hide resolved
packages/core/src/routes/admin-user/basics.ts Show resolved Hide resolved
@xiaoyijun xiaoyijun force-pushed the xiaoyijun-core-return-has-password-value branch from 32ac855 to c49c325 Compare September 4, 2024 05:00
@xiaoyijun xiaoyijun merged commit a748fc8 into master Sep 4, 2024
35 checks passed
@xiaoyijun xiaoyijun deleted the xiaoyijun-core-return-has-password-value branch September 4, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants