fix(api): notes message validation
This commit is contained in:
parent
b93e953fd9
commit
4245dd49e8
1 changed files with 1 additions and 1 deletions
|
|
@ -1396,7 +1396,7 @@ class SearchNoteSchema(_PaginatedSchema):
|
|||
|
||||
|
||||
class SessionNoteSchema(BaseModel):
|
||||
message: Optional[str] = Field(..., min_length=2)
|
||||
message: Optional[str] = Field(None, max_length=250)
|
||||
tag: Optional[str] = Field(default=None)
|
||||
timestamp: int = Field(default=-1)
|
||||
is_public: bool = Field(default=False)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue