Skip to content

Commit

Permalink
chore: terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Kulube committed Aug 22, 2023
1 parent ba8d593 commit 9ec1687
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions projectv1/project_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -2350,7 +2350,7 @@ type ProjectCanonical struct {

// The project configurations. These configurations are only included in the response of creating a project if a
// configs array is specified in the request payload.
Configs []ProjectConfigCanonical `json:"configs,omitempty"`
Configs []ProjectConfigTerraform `json:"configs,omitempty"`

// The definition of the project.
Definition *ProjectDefinitionResponseTerraform `json:"definition,omitempty"`
Expand Down Expand Up @@ -2415,7 +2415,7 @@ func UnmarshalProjectCanonical(m map[string]json.RawMessage, result interface{})
if err != nil {
return
}
err = core.UnmarshalModel(m, "configs", &obj.Configs, UnmarshalProjectConfigCanonical)
err = core.UnmarshalModel(m, "configs", &obj.Configs, UnmarshalProjectConfigTerraform)
if err != nil {
return
}
Expand Down
Loading

0 comments on commit 9ec1687

Please sign in to comment.