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

167727645 Show Profile Information #39

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

ChidozieGabriel
Copy link
Collaborator

What does this PR do?

Enable user toggle option to display profile information when he/she makes a trip request.

Description of Task to be completed?

  • Create route PATCH api/v1/remember_details to toggle 'rememberDetails' field of user.

How should this be manually tested?

  • Clone the repo and cd into the project directory
  • Run yarn install to install the project's dependency
  • Run yarn test to test the app

What are the relevant pivotal tracker stories?

#167727645

@ChidozieGabriel ChidozieGabriel added the Ready-for-review The PR is ready to be reviewed by teammates label Aug 28, 2019
gmemmy
gmemmy previously approved these changes Aug 28, 2019
Copy link
Collaborator

@gmemmy gmemmy left a comment

Choose a reason for hiding this comment

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

Looks good!!!

User has option to display profile information
when making a trip request.

[Starts #167727645]
message: 'Update successful',
rememberDetails: update.get().rememberDetails
}, 200
);
Copy link

Choose a reason for hiding this comment

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

Unexpected newline before ')' function-paren-newline

);
}

return HelperMethods.requestSuccessful(
Copy link

Choose a reason for hiding this comment

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

Unexpected newline after '(' function-paren-newline

success: false,
message: 'User not found'
}, 404
);
Copy link

Choose a reason for hiding this comment

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

Unexpected newline before ')' function-paren-newline

);

if (!update) {
return HelperMethods.clientError(
Copy link

Choose a reason for hiding this comment

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

Unexpected newline after '(' function-paren-newline

Copy link
Contributor

@Daymorelah Daymorelah left a comment

Choose a reason for hiding this comment

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

LGTM!

@Daymorelah Daymorelah merged commit 40e558f into develop Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready-for-review The PR is ready to be reviewed by teammates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants