allow None in Note title
This commit is contained in:
parent
ee881f99d7
commit
d08f61a7f3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class NoteSchema(Schema):
|
||||||
uuid: str
|
uuid: str
|
||||||
post_id: int | None = Field(alias="latest_post_id")
|
post_id: int | None = Field(alias="latest_post_id")
|
||||||
item: ItemSchema
|
item: ItemSchema
|
||||||
title: str
|
title: str | None
|
||||||
content: str
|
content: str
|
||||||
sensitive: bool = False
|
sensitive: bool = False
|
||||||
progress_type: Note.ProgressType | None = None
|
progress_type: Note.ProgressType | None = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue