Skip to content

Commit

Permalink
Merge pull request #681 from revathyrams/master
Browse files Browse the repository at this point in the history
Fix json field name for notification mechanisms data
  • Loading branch information
jacobbednarz authored Aug 1, 2021
2 parents 8b318bc + 8238358 commit 21dab5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
// NotificationMechanismData holds a single public facing mechanism data
// integation.
type NotificationMechanismData struct {
Name string `json:"id"`
ID string `json:"name"`
Name string `json:"name"`
ID string `json:"id"`
}

// NotificationMechanismIntegrations is a list of all the integrations of a
Expand Down

0 comments on commit 21dab5e

Please sign in to comment.