From 7c630d2efeba9681773b073c8cebe79e784d9f7f Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Fri, 19 Sep 2025 11:57:29 +0100 Subject: [PATCH] mockapi: support organization types --- pkg/mockapi/model.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/mockapi/model.go b/pkg/mockapi/model.go index 78b9ef9e..1f103243 100644 --- a/pkg/mockapi/model.go +++ b/pkg/mockapi/model.go @@ -162,6 +162,7 @@ type Deployment struct { type Org struct { ID string `json:"id"` + Type string `json:"type"` Name string `json:"name"` Label string `json:"label"` Owner string `json:"owner_id"` @@ -172,6 +173,7 @@ type Org struct { func (o *Org) AsRef() *OrgRef { return &OrgRef{ ID: o.ID, + Type: o.Type, Name: o.Name, Label: o.Label, Owner: o.Owner, @@ -180,6 +182,7 @@ func (o *Org) AsRef() *OrgRef { type OrgRef struct { ID string `json:"id"` + Type string `json:"type"` Name string `json:"name"` Label string `json:"label"` Owner string `json:"owner_id"`