Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenn Creighton committed Apr 5, 2021
1 parent 48a9af4 commit f19c622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ export class QueryManager<TStore> {
storeResult = result;

if (fetchPolicy !== 'no-cache') {
try {
// Returning the result of markMutationResult here makes the
// mutation await any Promise that markMutationResult returns,
// since we are returning this Promise from the asyncMap mapping
// function.
try {
self.markMutationResult<T, TVariables, TContext>({
return self.markMutationResult<T, TVariables, TContext>({
mutationId,
result,
document: mutation,
Expand Down

0 comments on commit f19c622

Please sign in to comment.