-
Notifications
You must be signed in to change notification settings - Fork 14
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
#168429357 get a specific request #72
base: develop
Are you sure you want to change the base?
Conversation
]); | ||
}; | ||
|
||
const searchRequestRoute = (router) => { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit 435fe71 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 95.2% (90% is the threshold). This pull request will bring the total coverage in the repository to 95.7% (0.0% change). View more on Code Climate. |
15fc31f
to
b66cb6b
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.
looks good
b66cb6b
to
435fe71
Compare
- add getSpecificRequest controller [Finishes #168429357]
Include the user table model in ur response body |
What this PR does
This PR will let a manager accept a trip request
Tasks completed
How this can be manually tested
npm install
in your terminal to install all the dependencies.env.config
filenpm run seed
in your terminal to seed the databasenpm run start:dev
in your terminal to start the development serverhttp://localhost:3000/api/v1/docs
email: [email protected], password: brucewayne
to test the request endpoint as aUSER
email: [email protected], password: Password
to test the request endpoint as aLINE MANAGER
email: [email protected], password: jammy11167
to test the request endpoint as aSUPER ADMIN
localhost:3000/api/v1/requests/0fcda9b7-e17f-4162-88ed-ded031063e53
to get that specific request detailWhat are the relevant pivotal tracker stories?
#168429357