From 0c6a997955613273970d8c7baee4f53a954c4961 Mon Sep 17 00:00:00 2001 From: Rexredinger Date: Wed, 14 Sep 2022 17:27:10 -0400 Subject: [PATCH] omitempty --- organization.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/organization.go b/organization.go index 46013e17f..d7b0a2b0a 100644 --- a/organization.go +++ b/organization.go @@ -144,7 +144,7 @@ type OrganizationCreateOptions struct { Name *string `jsonapi:"attr,name"` // Optional: AssessmentsEnforced toggles whether health assessment enablement is enforced across all assessable workspaces (those with a minimum terraform versio of 0.15.4 and not running in local execution mode) or if the decision to enabled health assessments is delegated to the workspace setting AssessmentsEnabled. - AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced"` + AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced,omitempty"` // Required: Admin email address. Email *string `jsonapi:"attr,email"` @@ -180,7 +180,7 @@ type OrganizationUpdateOptions struct { Name *string `jsonapi:"attr,name,omitempty"` // Optional: AssessmentsEnforced toggles whether health assessment enablement is enforced across all assessable workspaces (those with a minimum terraform versio of 0.15.4 and not running in local execution mode) or if the decision to enabled health assessments is delegated to the workspace setting AssessmentsEnabled. - AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced"` + AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced,omitempty"` // New admin email address. Email *string `jsonapi:"attr,email,omitempty"`