mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
update
This commit is contained in:
@@ -116,7 +116,7 @@ func remTorrent(req torrReqJS, c *gin.Context) {
|
||||
func listTorrent(req torrReqJS, c *gin.Context) {
|
||||
list := torr.ListTorrent()
|
||||
if list == nil {
|
||||
c.Status(http.StatusNotFound)
|
||||
c.JSON(200, []*state.TorrentStatus{})
|
||||
return
|
||||
}
|
||||
var stats []*state.TorrentStatus
|
||||
|
||||
Reference in New Issue
Block a user