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

Feature/fix password reset js sdk #1783

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Jan 8, 2025

Important

Updates requestPasswordReset in users.ts to accept a string email and bumps version in package.json.

  • Behavior:
    • requestPasswordReset in users.ts now accepts a string email instead of an object.
    • Sets Content-Type header to text/plain in requestPasswordReset.
  • Versioning:
    • Bumps version in package.json from 0.4.11 to 0.4.12.

This description was created by Ellipsis for 5965987. It will automatically update as commits are pushed.

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review January 8, 2025 21:47
@emrgnt-cmplxty emrgnt-cmplxty merged commit ae253f3 into main Jan 8, 2025
3 checks passed
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 5965987 in 35 seconds

More details
  • Looked at 54 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_hcJrzUG6Tn0WnM9N


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

async requestPasswordReset(options: {
email: string;
}): Promise<WrappedGenericMessageResponse> {
async requestPasswordReset(email: string): Promise<WrappedGenericMessageResponse> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using an options object for the requestPasswordReset method to maintain consistency with other methods in the class.

Suggested change
async requestPasswordReset(email: string): Promise<WrappedGenericMessageResponse> {
async requestPasswordReset(options: { email: string }): Promise<WrappedGenericMessageResponse> {

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

Successfully merging this pull request may close these issues.

1 participant