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
import (
"fmt"
"goBlack/common"
"goBlack/pkg/arr"
"os"
@@ -70,7 +71,7 @@ func (t *Torrent) GetMountFolder(rClonePath string) (string, error) {
return path, nil
}
}
return "", nil
return "", fmt.Errorf("no path found")
}
func (t *Torrent) Delete() {