From bb7b35f77f9af0822f7be10ac752c6967e37b50a Mon Sep 17 00:00:00 2001 From: Taylor Chaparro Date: Wed, 8 Jan 2025 10:24:02 -0800 Subject: [PATCH] omitempty when creating notification subscribable choice --- notification_configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification_configuration.go b/notification_configuration.go index 87a7c60b1..ad6c8dfae 100644 --- a/notification_configuration.go +++ b/notification_configuration.go @@ -166,7 +166,7 @@ type NotificationConfigurationCreateOptions struct { EmailUsers []*User `jsonapi:"relation,users,omitempty"` // Required: The workspace or team that the notification configuration is associated with. - SubscribableChoice *NotificationConfigurationSubscribableChoice `jsonapi:"polyrelation,subscribable"` + SubscribableChoice *NotificationConfigurationSubscribableChoice `jsonapi:"polyrelation,subscribable,omitempty"` } // NotificationConfigurationUpdateOptions represents the options for