Skip to content

Commit

Permalink
chore(notifications): fixed missing omitempties
Browse files Browse the repository at this point in the history
  • Loading branch information
amaor-newrelic committed Aug 4, 2024
1 parent cbf6887 commit 8d351dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/notifications/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ type AiNotificationsChannelInput struct {
// product
Product AiNotificationsProduct `json:"product"`
// properties
Properties []AiNotificationsPropertyInput `json:"properties"`
Properties []AiNotificationsPropertyInput `json:"properties,omitempty"`
// type
Type AiNotificationsChannelType `json:"type"`
}
Expand Down Expand Up @@ -823,7 +823,7 @@ type AiNotificationsDestinationInput struct {
// name
Name string `json:"name"`
// properties
Properties []AiNotificationsPropertyInput `json:"properties,omitempty"`
Properties []AiNotificationsPropertyInput `json:"properties"`
// secureUrl
SecureURL *AiNotificationsSecureURLInput `json:"secureUrl,omitempty"`
// type
Expand Down

0 comments on commit 8d351dd

Please sign in to comment.