Update repair; fix minor bugs with namings
This commit is contained in:
@@ -78,7 +78,7 @@ func (i *ImportRequest) Process(q *QBit) (err error) {
|
||||
if err != nil || debridTorrent == nil {
|
||||
if debridTorrent != nil {
|
||||
dbClient := service.GetDebrid().GetByName(debridTorrent.Debrid)
|
||||
go dbClient.DeleteTorrent(debridTorrent)
|
||||
go dbClient.DeleteTorrent(debridTorrent.Id)
|
||||
}
|
||||
if err == nil {
|
||||
err = fmt.Errorf("failed to process torrent")
|
||||
|
||||
Reference in New Issue
Block a user