mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak resource definition
This commit is contained in:
@ -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"],
|
||||
|
Reference in New Issue
Block a user