Skip to content

Commit

Permalink
convert State to string
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaev committed Feb 18, 2019
1 parent 95a1aec commit 211c512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions senders/webhook/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func toEventsData(events moira.NotificationEvents) []eventData {
Value: moira.UseFloat64(event.Value),
Timestamp: event.Timestamp,
IsTriggerEvent: event.IsTriggerEvent,
State: event.State,
OldState: event.OldState,
State: string(event.State),
OldState: string(event.OldState),
})
}
return result
Expand Down

0 comments on commit 211c512

Please sign in to comment.