Skip to content

Commit bb7b35f

Browse files
committed
omitempty when creating notification subscribable choice
1 parent 518ceb0 commit bb7b35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notification_configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ type NotificationConfigurationCreateOptions struct {
166166
EmailUsers []*User `jsonapi:"relation,users,omitempty"`
167167

168168
// Required: The workspace or team that the notification configuration is associated with.
169-
SubscribableChoice *NotificationConfigurationSubscribableChoice `jsonapi:"polyrelation,subscribable"`
169+
SubscribableChoice *NotificationConfigurationSubscribableChoice `jsonapi:"polyrelation,subscribable,omitempty"`
170170
}
171171

172172
// NotificationConfigurationUpdateOptions represents the options for

0 commit comments

Comments
 (0)