-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/sar-699 user profile interface #80
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
base: develop
Are you sure you want to change the base?
Conversation
m-ox
left a comment
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'm personally excited about it. Just needs merge conflicts and basic console log clean up done. Has thorough error handling and I'm happy to finally see what the user object is looking like.
| redirect_uri: googleOAuthRedirectUrl, | ||
| grant_type: 'authorization_code', | ||
| }; | ||
| console.log(values); |
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.
console.log clean up
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.
And below this, comment clean up
| { | ||
| "_id": "aab", | ||
| "aab": { | ||
| "measureClassification": "Classic", |
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.
Is this going to be used anywhere? And all the values appear to be the same. Just curious what this is for.
| }; | ||
|
|
||
| const addUser = async (req, res, next) => { | ||
| const { |
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.
About 50% of this file is copying the same 12 fields around 3 different places. I bet a function can handle this to reduce duplicate code.
Related Tickets
Other Repos' PR(s) Intended to Work With This PR
How Things Worked (or Didn't) Before This PR
How Things Work Now (And How to Test)
-User Profile is editable.
-User is allowed to change only their settings. (for certain selections)
-User unable to change company settings.
-Admin route added for adding new user, and also finding members.
Readiness