fix: update mask of update memo (#3659)

This commit is contained in:
Johnny
2024-07-08 08:50:38 +08:00
committed by GitHub
parent eccddb1154
commit 5e3ed201b4
2 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ const MemoEditor = (props: Props) => {
if (prevMemo) {
const updateMask = ["content", "visibility"];
if (props.memoPatchRef?.current?.displayTime) {
updateMask.push("display_ts");
updateMask.push("display_time");
}
const memo = await memoStore.updateMemo(
{