Fix getting mount path

This commit is contained in:
Mukhtar Akere
2025-01-11 23:10:05 +01:00
parent 451c17cdf7
commit 7cb41a0e8b

View File

@@ -1,6 +1,7 @@
package debrid package debrid
import ( import (
"fmt"
"goBlack/common" "goBlack/common"
"goBlack/pkg/arr" "goBlack/pkg/arr"
"os" "os"
@@ -70,7 +71,7 @@ func (t *Torrent) GetMountFolder(rClonePath string) (string, error) {
return path, nil return path, nil
} }
} }
return "", nil return "", fmt.Errorf("no path found")
} }
func (t *Torrent) Delete() { func (t *Torrent) Delete() {