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

[Fixed]changed confusing res in validateUser API #307

Merged
merged 3 commits into from
Sep 9, 2023

Conversation

shreyam462
Copy link
Contributor

@shreyam462 shreyam462 commented Sep 2, 2023

Description

changed validateUser API in auth.js such that it shows authorized if user is validated and shows error and unauthorized if user is not valid. This was done as mentioned in issue no. #214

Fixes

This pull request fixes issue no. #214

Checklist

  • Code follows project's style guidelines.

@TejasNair9977 TejasNair9977 changed the base branch from main to development September 2, 2023 14:21
@shreyam462 shreyam462 changed the title 214 confusing res for validate user api [Fixed]changed confusing res in validateUser API Sep 2, 2023
@TejasNair9977 TejasNair9977 linked an issue Sep 3, 2023 that may be closed by this pull request
Copy link
Member

@TejasNair9977 TejasNair9977 left a comment

Choose a reason for hiding this comment

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

please make sure that npx eslint . does not give any errors.

@TejasNair9977 TejasNair9977 merged commit 7840828 into development Sep 9, 2023
1 check passed
@TejasNair9977 TejasNair9977 deleted the 214-confusing-res-for-validateUser-API branch October 15, 2023 16:58
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.

[Bug]: [Confusing res for validateUser API]
2 participants