mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Final work to add torrents categories
This commit is contained in:
@@ -153,7 +153,7 @@ func setTorrent(req torrReqJS, c *gin.Context) {
|
||||
c.AbortWithError(http.StatusBadRequest, errors.New("hash is empty"))
|
||||
return
|
||||
}
|
||||
torr.SetTorrent(req.Hash, req.Title, req.Poster, req.Data)
|
||||
torr.SetTorrent(req.Hash, req.Title, req.Poster, req.Category, req.Data)
|
||||
c.Status(200)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user