Fix arr download_uncached settings

This commit is contained in:
Mukhtar Akere
2025-03-16 05:43:25 +01:00
parent b91aa1db38
commit 26f6f384a3
10 changed files with 45 additions and 19 deletions

View File

@@ -59,7 +59,8 @@ func (q *QBit) authContext(next http.Handler) http.Handler {
// Check if arr exists
a := svc.Arr.Get(category)
if a == nil {
a = arr.New(category, "", "", false, false, false)
downloadUncached := false
a = arr.New(category, "", "", false, false, &downloadUncached)
}
if err == nil {
host = strings.TrimSpace(host)