Skip to content

Commit 7319117

Browse files
committed
Fix duration with decimal places causing issues
1 parent 2872082 commit 7319117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/arcdps-log-uploader/model/dpsreports.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
)
2222

2323
type Encounter struct {
24-
Duration int `json:"duration"`
24+
Duration float64 `json:"duration"`
2525
}
2626

2727
type DpsReportResponse struct {

0 commit comments

Comments
 (0)