fix: add movie download

This commit is contained in:
Simon Ding
2024-07-28 19:30:06 +08:00
parent 3de2f89107
commit e0e11b70bb

View File

@@ -294,7 +294,7 @@ func (s *Server) DownloadTorrent(c *gin.Context) (interface{}, error) {
s.db.SetEpisodeStatus(ep.ID, episode.StatusDownloading)
}()
log.Infof("success add %s to download task", media.NameEn)
return media.NameEn, nil
log.Infof("success add %s to download task", in.Name)
return in.Name, nil
}