Skip to content

Commit

Permalink
omitempty when creating notification subscribable choice
Browse files Browse the repository at this point in the history
  • Loading branch information
notchairmk committed Jan 8, 2025
1 parent 518ceb0 commit bb7b35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb7b35f

Please sign in to comment.