Skip to content

Commit 1b5308d

Browse files
authored
Merge pull request #7 from phoops/add-last-success-code-subscription-notification
Add LastSuccessCode field to SubscriptionNotification
2 parents 5d88a7e + 55fd247 commit 1b5308d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/model.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ type SubscriptionNotification struct {
185185
LastNotification *time.Time `json:"lastNotification,omitempty"`
186186
LastFailure *time.Time `json:"lastFailure,omitempty"`
187187
LastSuccess *time.Time `json:"lastSuccess,omitempty"`
188+
LastSuccessCode *uint `json:"lastSuccessCode,omitempty"`
188189
}
189190

190191
type Notification struct {

0 commit comments

Comments
 (0)