allow None in Note title

This commit is contained in:
Your Name 2025-02-24 08:11:11 -05:00 committed by Henri Dickson
parent ee881f99d7
commit d08f61a7f3

View file

@ -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