Fix closedAt wrong datatype

This commit is contained in:
Chi Vinh Le
2018-02-26 22:42:51 +01:00
committed by Wyatt Johnson
parent 6037202158
commit 6e89ba8ffb
+1 -1
View File
@@ -698,7 +698,7 @@ export const withCloseAsset = withMutation(
const fragmentId = `Asset_${id}`;
const data = {
__typename: 'Asset',
closedAt: new Date(),
closedAt: new Date().toISOString(),
isClosed: true,
};
proxy.writeFragment({ fragment, id: fragmentId, data });