Skip to content

Conversation

Dhivas-Sugumar
Copy link
Contributor

ℹ️ Issue

Closes https://app.clickup.com/t/863g4edcm

📝 Description

Briefly list the changes made to the code:

  • Added support for collecting the contact info from email and phone number.

✔️ Verification

Verified that it works locally.

  • Tested it locally.
  • Used the test survey to test it.
  • Ran through the flow and got to the contact collection part.
  • Inputted the phone number and email and made sure it was updated on the database.

Provide screenshots of any new components, styling changes, or pages.

  • No frontend change.

@Dhivas-Sugumar Dhivas-Sugumar requested a review from onb6 as a code owner April 3, 2023 23:25
phone: phoneNumber,
};
// TODO: Send email and phone number to the backend
await apiClient.updateReviewer(updateReviewer);
Copy link
Member

Choose a reason for hiding this comment

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

Is there a handler for if this API call fails? If not, should there be?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i dont think there is a handler. @onb6 should i add a try catch that shows an alert if the api call failed.

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.

2 participants