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

Updating Conversation Queries #78

Merged
merged 6 commits into from
Jun 25, 2020
Merged

Updating Conversation Queries #78

merged 6 commits into from
Jun 25, 2020

Conversation

claalmve
Copy link
Contributor

@claalmve claalmve commented Jun 25, 2020

Summary

Updating the conversation GraphQL endpoints. Addresses #77 .

Test Plan

Passes all current tests in components using these queries.

@claalmve claalmve linked an issue Jun 25, 2020 that may be closed by this pull request
@@ -17,6 +17,7 @@ const App = () => {
<Route path="/tag" exact component={TagPage} />
<Route path="/tag/add" exact component={Tag} />
<Route path="/tag/:id/edit" exact component={Tag} />
{/* Doesn't this error without a passed in `contactId`? */}
Copy link
Contributor Author

@claalmve claalmve Jun 25, 2020

Choose a reason for hiding this comment

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

Because I was getting an error page on the default /chat route, I did a little digging into it, and I believe because contactId is never passed in for this route, the page will not render properly. So, I'm not completely sure how this worked before, or if I did something wrong on my end, but now to see the page properly, you need to add a ID at the end of the URL (i.e. localhost:3000/chat/2)

@claalmve claalmve requested a review from kurund June 25, 2020 03:38
@kurund kurund merged commit 3a3698f into master Jun 25, 2020
@kurund kurund deleted the update-chat-endpoints branch June 25, 2020 06:43
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.

Changing Messages/Conversations GraphQL Endpoints
2 participants