mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 03:05:24 +08:00
19 lines
392 B
JavaScript
19 lines
392 B
JavaScript
import update from 'immutability-helper';
|
|
|
|
export default {
|
|
mutations: {
|
|
DownloadCommentHistory: () => ({
|
|
updateQueries: {
|
|
CoralEmbedStream_Profile: previousData =>
|
|
update(previousData, {
|
|
me: {
|
|
lastAccountDownload: {
|
|
$set: new Date().toISOString(),
|
|
},
|
|
},
|
|
}),
|
|
},
|
|
}),
|
|
},
|
|
};
|