Skip to content

Commit

Permalink
Merge pull request #89 from SafetyCulture/opsgenie-upstream-pr
Browse files Browse the repository at this point in the history
Add OwnerTeamID field to Alert and fix lastOccuredAt typo
  • Loading branch information
rjain3-og authored Jun 23, 2022
2 parents 9f7c0b8 + 417f343 commit 73fb203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alert/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Alert struct {
Snoozed bool `json:"snoozed,omitempty"`
SnoozedUntil time.Time `json:"snoozedUntil,omitempty"`
Count int `json:"count,omitempty"`
LastOccurredAt time.Time `json:"lastOccuredAt,omitempty"`
LastOccurredAt time.Time `json:"lastOccurredAt,omitempty"`
CreatedAt time.Time `json:"createdAt,omitempty"`
UpdatedAt time.Time `json:"updatedAt,omitempty"`
Source string `json:"source,omitempty"`
Expand All @@ -27,6 +27,7 @@ type Alert struct {
Responders []Responder `json:"responders"`
Integration Integration `json:"integration,omitempty"`
Report Report `json:"report,omitempty"`
OwnerTeamID string `json:"ownerTeamId,omitempty"`
}

type Integration struct {
Expand Down

0 comments on commit 73fb203

Please sign in to comment.