Skip to content

Commit a6970f2

Browse files
committed
MergeChanges
1 parent 9cf8cac commit a6970f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SyncModal/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SyncModal = ({ columns, onClose, perspectiveId, foreignChanges }) => {
2323
variables: { remote: "isp", perspectiveId, debugFlag },
2424
onCompleted: ({ list_changes: ispSyncData }) => {
2525
setIspSyncData(ispSyncData);
26-
console.log(`Possible errors: ${ispSyncData.errors}`);
26+
console.log(`Possible errors: ${ispSyncData.warns}`);
2727
},
2828
fetchPolicy: "network-only"
2929
});
@@ -32,7 +32,7 @@ const SyncModal = ({ columns, onClose, perspectiveId, foreignChanges }) => {
3232
variables: { remote: "xal", perspectiveId, debugFlag },
3333
onCompleted: ({ list_changes: xalSyncData }) => {
3434
setXalSyncData(xalSyncData);
35-
console.log(`Possible errors: ${xalSyncData.errors}`);
35+
console.log(`Possible errors: ${xalSyncData.warns}`);
3636
},
3737
fetchPolicy: "network-only"
3838
});

0 commit comments

Comments
 (0)