mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +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) {
|
func listTorrent(req torrReqJS, c *gin.Context) {
|
||||||
list := torr.ListTorrent()
|
list := torr.ListTorrent()
|
||||||
if list == nil {
|
if list == nil {
|
||||||
c.Status(http.StatusNotFound)
|
c.JSON(200, []*state.TorrentStatus{})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var stats []*state.TorrentStatus
|
var stats []*state.TorrentStatus
|
||||||
|
|||||||
Reference in New Issue
Block a user