fix: handling for unset org contacts

This commit is contained in:
Chris Milne 2026-05-25 09:32:40 +01:00
parent 23f2ce98d7
commit 804e21b871

View file

@ -52,6 +52,6 @@ class OrgContactGetResponse(CustomBaseModel):
class OrgOrgGetResponse(CustomBaseModel): class OrgOrgGetResponse(CustomBaseModel):
name: str name: str
status: Status status: Status
owner_contact: OrgContactGetResponse owner_contact: Optional[OrgContactGetResponse] = None
billing_contact: OrgContactGetResponse billing_contact: Optional[OrgContactGetResponse] = None
security_contact: OrgContactGetResponse security_contact: Optional[OrgContactGetResponse] = None