chore: tweak resource definition

This commit is contained in:
Steven
2024-03-20 21:17:04 +08:00
parent 7cc8b951a3
commit 7c5261b5d2
23 changed files with 845 additions and 748 deletions

View File

@ -229,7 +229,7 @@ const MemoEditor = (props: Props) => {
if (memoId) {
await resourceStore.updateResource({
resource: Resource.fromPartial({
id: resource.id,
name: resource.name,
memoId,
}),
updateMask: ["memo_id"],