fix toboxInfo struct type (#6)

Co-authored-by: Tangui <tanguidaoudal@yahoo.fr>
This commit is contained in:
robertRogerPresident
2024-12-16 20:56:09 +01:00
committed by GitHub
parent 7359f280b0
commit dd0b7efdff

View File

@@ -34,7 +34,7 @@ type torboxInfo struct {
DownloadState string `json:"download_state"` DownloadState string `json:"download_state"`
Seeds int `json:"seeds"` Seeds int `json:"seeds"`
Peers int `json:"peers"` Peers int `json:"peers"`
Ratio int `json:"ratio"` Ratio float64 `json:"ratio"`
Progress float64 `json:"progress"` Progress float64 `json:"progress"`
DownloadSpeed int `json:"download_speed"` DownloadSpeed int `json:"download_speed"`
UploadSpeed int `json:"upload_speed"` UploadSpeed int `json:"upload_speed"`