diff --git a/pkg/profile/models.go b/pkg/profile/models.go index fe9c219..36041d5 100644 --- a/pkg/profile/models.go +++ b/pkg/profile/models.go @@ -15,11 +15,15 @@ type Subscription struct { Name string `json:"name"` Type string `json:"type"` } `json:"user"` - IsDefault bool `json:"isDefault"` - TenantID uuid.UUID `json:"tenantId"` - EnvironmentName string `json:"environmentName"` - HomeTenantID uuid.UUID `json:"homeTenantId"` - ManagedByTenants []struct { - TenantID uuid.UUID `json:"tenantId"` - } `json:"managedByTenants"` + IsDefault bool `json:"isDefault"` + + // These fields are commented out in case they are needed in the future. + // They cause some issues with unmarshalling if they're not present in the JSON, as they're not used we'll just ignore them + + //TenantID uuid.UUID `json:"tenantId"` + //EnvironmentName string `json:"environmentName"` + //HomeTenantID uuid.UUID `json:"homeTenantId"` + //ManagedByTenants []*struct { + // TenantID uuid.UUID `json:"tenantId"` + //} `json:"managedByTenants"` }