Skip to content

Commit

Permalink
Make sure coll out models return allowPublicDownload as bool
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 11, 2024
1 parent 211aae4 commit f59ddba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/btrixcloud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ class CollOut(BaseMongoModel):
thumbnail: Optional[ImageFileOut] = None
defaultThumbnailName: Optional[str] = None

allowPublicDownload: Optional[bool] = True
allowPublicDownload: bool = True


# ============================================================================
Expand Down Expand Up @@ -1336,7 +1336,7 @@ class PublicCollOut(BaseMongoModel):
thumbnail: Optional[PublicImageFileOut] = None
defaultThumbnailName: Optional[str] = None

allowPublicDownload: Optional[bool] = True
allowPublicDownload: bool = True


# ============================================================================
Expand Down

0 comments on commit f59ddba

Please sign in to comment.