-
Notifications
You must be signed in to change notification settings - Fork 6
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
#166790008 List Users Functionality #55
Conversation
c588112
to
8f6acb9
Compare
controllers/ratings.js
Outdated
@@ -0,0 +1,97 @@ | |||
import models from '../models'; |
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.
Remove this file ratings.js in controllers will no longer be used.
models/users.js
Outdated
@@ -22,21 +24,26 @@ export default (sequelize, DataTypes) => { | |||
isEmail: true | |||
} | |||
}, | |||
provider: { type: DataTypes.STRING }, |
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.
Please add this column on users table provider: { type: DataTypes.STRING },
025c6cc
to
211f37a
Compare
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.
ready for merge
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.
resolve merge conflicts
211f37a
to
50f9dcb
Compare
tests/rating.test.js
Outdated
done(); | ||
}); | ||
}); | ||
}); |
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.
Newline required at end of file but not found eol-last
50f9dcb
to
928797f
Compare
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.
ready for merge
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.
ready to be merged
712bb91
928797f
to
712bb91
Compare
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.
ready for merge
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.
fix merge conflicts
- add a route - add functionality of listing users - add tests - add a documentation [Finishes #166790008]
712bb91
to
9bf0014
Compare
Code Climate has analyzed commit 9bf0014 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 98.5% (0.0% change). View more on Code Climate. |
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.
ready for merge
What does this PR do?
Lists users functionality
Description of Task to be completed
How should this be manually tested?
sequelize
globallysequelize db:create
list users
endpointlocalhost:3000
Endpoint
GET
/api/list-users
List users functionality
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#166790008
Screenshots (if appropriate)
Checklist