fix(indexers): OPS API test function (#1772)

fix(indexers): change RequiredRatio type from int to float
This commit is contained in:
soup 2024-10-19 13:49:22 +02:00 committed by GitHub
parent 509e4ddaed
commit f7e635d5ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"`