Skip to content

Commit 8509d01

Browse files
committed
Attempt to fix toISOString is not a function
Related to #315.
1 parent 8750d02 commit 8509d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function tryCatchStringify(obj) {
1515
/* eslint-disable no-console */
1616
if (process.env.NODE_ENV !== 'production') console.log('Failed to stringify', err);
1717
/* eslint-enable no-console */
18-
return jsan.stringify(obj, null, null, { circular: '[CIRCULAR]' });
18+
return jsan.stringify(obj, null, null, { circular: '[CIRCULAR]', date: true });
1919
}
2020
}
2121

0 commit comments

Comments
 (0)