update to master

This commit is contained in:
YouROK
2021-06-08 14:12:32 +03:00
parent 009b51f578
commit 533ab85f9f
89 changed files with 46034 additions and 8804 deletions

View File

@@ -136,7 +136,7 @@ func remTorrent(req torrReqJS, c *gin.Context) {
func listTorrent(req torrReqJS, c *gin.Context) {
list := torr.ListTorrent()
if list == nil {
if len(list) == 0 {
c.JSON(200, []*state.TorrentStatus{})
return
}