fix(db): fix typing on ImageRecordChanges

This commit is contained in:
psychedelicious 2023-08-24 22:13:05 +10:00
parent 0c5736d9c9
commit e22c797fa3

View File

@ -53,7 +53,7 @@ class ImageRecordChanges(BaseModelExcludeNull, extra=Extra.forbid):
- `starred`: change whether the image is starred
"""
image_category: Optional[ImageCategory] = Field(description="The image's new category.")
image_category: Optional[ImageCategory] = Field(default=None, description="The image's new category.")
"""The image's new category."""
session_id: Optional[StrictStr] = Field(
default=None,