-
Notifications
You must be signed in to change notification settings - Fork 238
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
Issue#283 - User authentication (Sign up) successful #380
Conversation
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
Kindly resolve these conflicts @Lanaanvar |
how do i resolve this issue? Not able to click the resolve conflict button |
Is this okay? |
There is conflict in package lock file. You can remove your own package-lock and keep the updated one from the master branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not able to understand where the bug was.
- Status code was changed
- The response with customer object was changed
I'll explain the issue. When a customer signs up in the registration page, it shows : "An error occurred. Please try again later.". So I checked the backend code and found the problem that was causing this : The original code had multiple calls to sendToken(customer, 201, res). It was also sending multiple responses. So i did the following :
I hope this is understandable. |
Yes, this is comprehensive and understandable. Great work !! 👍 |
Description
A clear and concise description of what the PR does.
Related Issues
Link any related issues using the format
Fixes #issue_number
.This helps to automatically close related issues when the PR is merged.
Changes
List the detailed changes made in this PR.
Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.
npm install
to install dependencies.npm test
to execute the test suite.Screenshots (if applicable)
Additional Context
Any additional context or information that reviewers should be aware of.
Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.