mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 06:13:05 +08:00
Fix closedAt wrong datatype
This commit is contained in:
committed by
Wyatt Johnson
parent
6037202158
commit
6e89ba8ffb
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user