From dd0b7efdff721636ce87b0f800d0fd9971442fa3 Mon Sep 17 00:00:00 2001 From: robertRogerPresident Date: Mon, 16 Dec 2024 20:56:09 +0100 Subject: [PATCH] fix toboxInfo struct type (#6) Co-authored-by: Tangui --- pkg/debrid/structs/torbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/debrid/structs/torbox.go b/pkg/debrid/structs/torbox.go index 5b81ca8..705bda7 100644 --- a/pkg/debrid/structs/torbox.go +++ b/pkg/debrid/structs/torbox.go @@ -34,7 +34,7 @@ type torboxInfo struct { DownloadState string `json:"download_state"` Seeds int `json:"seeds"` Peers int `json:"peers"` - Ratio int `json:"ratio"` + Ratio float64 `json:"ratio"` Progress float64 `json:"progress"` DownloadSpeed int `json:"download_speed"` UploadSpeed int `json:"upload_speed"`