From e294fd705385be17360d5ba22fcfdc44f058c111 Mon Sep 17 00:00:00 2001 From: Felix Luthman <34520175+felixlut@users.noreply.github.com> Date: Sat, 5 Oct 2024 23:23:15 +0200 Subject: [PATCH] fix: allow removing/unsetting repository custom property --- github/orgs_properties.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/orgs_properties.go b/github/orgs_properties.go index f7416d53008..3387d98d76f 100644 --- a/github/orgs_properties.go +++ b/github/orgs_properties.go @@ -42,7 +42,7 @@ type RepoCustomPropertyValue struct { // CustomPropertyValue represents a custom property value. type CustomPropertyValue struct { PropertyName string `json:"property_name"` - Value interface{} `json:"value,omitempty"` + Value interface{} `json:"value"` } // UnmarshalJSON implements the json.Unmarshaler interface.