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

chore: fix errors and make changes to routes #98

Merged
merged 3 commits into from
Apr 17, 2019

Conversation

vic3king
Copy link
Contributor

@vic3king vic3king commented Apr 16, 2019

Description

Currently, when we run our code on production we get a sessions error. This Pull request fixes that error and also corrects some validation errors.

Type of change

  • Chore(bug fixes)

How Has This Been Tested?

N/A

Checklist:

  • uninstall express-sessions and install cookie-sessions
  • return token in the password reset redirect URL
  • add validation logic to bookmark article endpoint
  • change route naming to align with rest API convention

PT-ID

N/A

Screenshots

N/A

Questions:

N/A

- uninstall express-sessions and install cookie-sessions
- return token in password reset redirect url
- add validation logic to bookmark article endpoint
- change route naming to align with rest api conention
@Akinmyde Akinmyde temporarily deployed to hermes-ah-backend-stagin-pr-98 April 16, 2019 13:10 Inactive
if (!article) {
return res.status(404).json({
errors: {
body: ['this article does not exist'],
Copy link
Contributor

Choose a reason for hiding this comment

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

Capitalize this

@Akinmyde Akinmyde temporarily deployed to hermes-ah-backend-stagin-pr-98 April 17, 2019 07:51 Inactive
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.

None yet

3 participants