Skip to content

Commit

Permalink
fixing sslExpirythreshold
Browse files Browse the repository at this point in the history
  • Loading branch information
kjda committed Jan 21, 2021
1 parent c0a3e89 commit c4edd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkly.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ func payloadFromAlertChannel(ac AlertChannel) map[string]interface{} {
"sendFailure": ac.SendFailure,
"sslExpiry": ac.SSLExpiry,
}
if ac.SSLExpiry != nil {
if ac.SSLExpiryThreshold != nil {
payload["sslExpiryThreshold"] = ac.SSLExpiryThreshold
}
return payload
Expand Down

0 comments on commit c4edd1c

Please sign in to comment.