Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #268 from aerogear/remove-version
Browse files Browse the repository at this point in the history
Remove version
  • Loading branch information
wtrocki authored Feb 28, 2019
2 parents 9dafc5e + 70bfb0b commit db7619f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/sync/integration_test/test/offline.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ describe('AeroGear Apollo GraphQL Voyager client', function () {

const newTask = {
description: 'new',
title: 'new'
title: 'new',
version: 1
};

const updatedTask = {
Expand Down
1 change: 0 additions & 1 deletion packages/sync/src/cache/createOptimisticResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const createOptimisticResponse =
optimisticResponse[operation] = {
__typename: typeName,
...data,
version: 1,
optimisticResponse: true
};
if (addId) {
Expand Down

0 comments on commit db7619f

Please sign in to comment.