Update our api calls in stores to use the ServerResponse
type to display error messages and our retry call
#878
Labels
enhancement
New feature or request
pair programming
This is a ticket that is good to pair with someone on
Problem
Some of the ways that our calls are being done to the backend are outdated. There was an updated way with auto retry that was created in the file
utils/graphql.ts
namedgraphQLClientRequestWithRetry
. We should be using this to call the backend as it allows for auto retry before created an error. These calls also should return the newServerResponse
type in order for us to display error messages in the future to the users.Success
The calls are updated, with the return of the
ServerResponse
type.Requirements
graphQLClientRequestWithRetry
ServerResponse
typeThe text was updated successfully, but these errors were encountered: