Skip to content

Commit

Permalink
fix user types
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Oct 21, 2020
1 parent b183ed3 commit 47189b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 20.10.2020, Version 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7
## 20.10.2020, Version 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8

- fix alert source type definition
- fix incident type definition
Expand Down
10 changes: 5 additions & 5 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ type User struct {
Timezone string `json:"timezone"`
Language string `json:"language"`
Role string `json:"role"`
NotificationPreferences []NotificationPreference `json:"notificationPreferences"`
LowNotificationPreferences []NotificationPreference `json:"lowPriorityNotificationPreferences"`
OnCallNotificationPreferences []OnCallNotificationPreference `json:"onCallNotificationPreferences"`
SubscribedIncidentUpdateStates []string `json:"subscribedIncidentUpdateStates"`
SubscribedIncidentUpdateNotificationTypes []string `json:"subscribedIncidentUpdateNotificationTypes"`
NotificationPreferences []NotificationPreference `json:"notificationPreferences,omitempty"`
LowNotificationPreferences []NotificationPreference `json:"lowPriorityNotificationPreferences,omitempty"`
OnCallNotificationPreferences []OnCallNotificationPreference `json:"onCallNotificationPreferences,omitempty"`
SubscribedIncidentUpdateStates []string `json:"subscribedIncidentUpdateStates,omitempty"`
SubscribedIncidentUpdateNotificationTypes []string `json:"subscribedIncidentUpdateNotificationTypes,omitempty"`
}

// Phone definition
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ilert

// Version package version
const Version = "v1.0.7"
const Version = "v1.0.8"

0 comments on commit 47189b6

Please sign in to comment.