From f7e635d5ae6c4db89d88aa11bfacfc88cb576e67 Mon Sep 17 00:00:00 2001 From: soup Date: Sat, 19 Oct 2024 13:49:22 +0200 Subject: [PATCH] fix(indexers): OPS API test function (#1772) fix(indexers): change RequiredRatio type from int to float --- pkg/ops/ops.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ops/ops.go b/pkg/ops/ops.go index c3d9181..159ff3e 100644 --- a/pkg/ops/ops.go +++ b/pkg/ops/ops.go @@ -165,7 +165,7 @@ type Userstats struct { Uploaded int64 `json:"uploaded"` Downloaded int64 `json:"downloaded"` Ratio float64 `json:"ratio"` - Requiredratio int64 `json:"requiredratio"` + Requiredratio float64 `json:"requiredratio"` BonusPoints int64 `json:"bonusPoints"` BonusPointsPerHour float64 `json:"bonusPointsPerHour"` Class string `json:"class"`