Skip to content

Commit 08bab5a

Browse files
committed
fix: statuscake response parse error
1 parent c8be29e commit 08bab5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/monitors/statuscake/statuscake-responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type StatusCakeMonitorData struct {
2121
ContactGroup []string `json:"contact_groups"`
2222
Status string `json:"status"`
2323
Tags []string `json:"tags"`
24-
Uptime int `json:"uptime"`
24+
Uptime float64 `json:"uptime"`
2525
}
2626
type StatusCakeMonitorMetadata struct {
2727
Page int `json:"page"`

0 commit comments

Comments
 (0)