From e55aaa565b38ca8d478d89c4bcc96f0e9a38eb1f Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 8 Jul 2020 09:30:57 +0100 Subject: [PATCH] fix: linting issues --- packages/offix-client/src/apollo/optimisticResponseHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/offix-client/src/apollo/optimisticResponseHelpers.ts b/packages/offix-client/src/apollo/optimisticResponseHelpers.ts index a5c44ba0e..e75c2e03b 100644 --- a/packages/offix-client/src/apollo/optimisticResponseHelpers.ts +++ b/packages/offix-client/src/apollo/optimisticResponseHelpers.ts @@ -67,7 +67,7 @@ export function replaceClientGeneratedIDsInQueue(queue: ApolloOfflineQueue, oper queue.entries.forEach((entry) => { // replace all instances of the optimistic id in the queue with // the new id that came back from the server - traverse(entry.operation.op.variables).forEach(function (val) { + traverse(entry.operation.op.variables).forEach(function(val) { if (this.isLeaf && val && val === optimisticId) { this.update(resultId); queue.updateOperation(entry.operation);