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
|
Returns organisation details including key member email addresses
|
||||||
"""
|
"""
|
||||||
response = {
|
response = {
|
||||||
|
"id": org_model.id,
|
||||||
"name": org_model.name,
|
"name": org_model.name,
|
||||||
"status": org_model.status,
|
"status": org_model.status,
|
||||||
"owner_contact": org_model.owner_contact_rel.email,
|
"owner_contact": org_model.owner_contact_rel.email,
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,7 @@ class OrgPatchContactResponse(CustomBaseModel):
|
||||||
organisation: OrgSchema
|
organisation: OrgSchema
|
||||||
|
|
||||||
class OrgGetOrgResponse(CustomBaseModel):
|
class OrgGetOrgResponse(CustomBaseModel):
|
||||||
|
id: int
|
||||||
name: str
|
name: str
|
||||||
status: Status
|
status: Status
|
||||||
root_user: Optional[str] = None
|
root_user: Optional[str] = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue