Merge pull request #24486 from Classic298/fix/notes-is-pinned-typeerror

fix: notes is_pinned TypeError on create/get
This commit is contained in:
Classic298 authored and GitHub committed 2026-05-09 20:56:06 +09:00
1 parent 0f07af1bb8
commit a0268e51fc
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ class NoteTable:
}
)
new_note = Note(**note.model_dump(exclude={'access_grants'}))
new_note = Note(**note.model_dump(exclude={'access_grants', 'is_pinned'}))
db.add(new_note)
await db.commit()