This commit is contained in:
parent
00ed43e5ce
commit
76ef862d40
2 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ async def get_org_by_id(org_model: org_model_root_claim_query_dependency):
|
|||
Returns organisation details including key member email addresses
|
||||
"""
|
||||
response = {
|
||||
"id": org_model.id,
|
||||
"name": org_model.name,
|
||||
"status": org_model.status,
|
||||
"owner_contact": org_model.owner_contact_rel.email,
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ class OrgPatchContactResponse(CustomBaseModel):
|
|||
organisation: OrgSchema
|
||||
|
||||
class OrgGetOrgResponse(CustomBaseModel):
|
||||
id: int
|
||||
name: str
|
||||
status: Status
|
||||
root_user: Optional[str] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue