Skip to content

Commit

Permalink
Don't pass None to str validator
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 26, 2024
1 parent dbe31ef commit e4fa4a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/btrixcloud/colls.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ async def get_org_public_collections(self, org_slug: str):
)

public_org_details = PublicOrgDetails(
name=org.name, description=org.publicDescription, url=org.publicUrl
name=org.name,
description=org.publicDescription or "",
url=org.publicUrl or "",
)

return OrgPublicCollections(org=public_org_details, collections=collections)
Expand Down

0 comments on commit e4fa4a5

Please sign in to comment.