From 9c53e550e967d4b378f6a6ade1f61ae2170684d8 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 17 Aug 2026 10:56:34 -0400 Subject: [PATCH] fix: Use correct stashEndpointInput element reference in Stash image review module --- qbittorrent_performer_sorter.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qbittorrent_performer_sorter.html b/qbittorrent_performer_sorter.html index 81c5c86..51fa057 100644 --- a/qbittorrent_performer_sorter.html +++ b/qbittorrent_performer_sorter.html @@ -4950,7 +4950,7 @@ Return ONLY a valid JSON object with an array named "results": btnScanStashImages.textContent = 'Scanning Stash...'; try { - const stashUrl = stashServerUrlInput ? stashServerUrlInput.value.trim() : ''; + const stashUrl = stashEndpointInput ? stashEndpointInput.value.trim() : ''; const gender = toggleStashFemaleOnly && toggleStashFemaleOnly.checked ? 'FEMALE' : 'ALL'; const hasScenes = toggleStashHasScenes && toggleStashHasScenes.checked ? 'true' : 'false'; @@ -5062,7 +5062,7 @@ Return ONLY a valid JSON object with an array named "results": renderSinglePerformerCard(performer.id); try { - const stashUrl = stashServerUrlInput ? stashServerUrlInput.value.trim() : ''; + const stashUrl = stashEndpointInput ? stashEndpointInput.value.trim() : ''; const res = await fetch('/api/stash/performers/commit-image', { method: 'POST', headers: { 'Content-Type': 'application/json' }, @@ -5117,7 +5117,7 @@ Return ONLY a valid JSON object with an array named "results": stashImgProgressFill.style.width = '0%'; let successCount = 0; - const stashUrl = stashServerUrlInput ? stashServerUrlInput.value.trim() : ''; + const stashUrl = stashEndpointInput ? stashEndpointInput.value.trim() : ''; for (let i = 0; i < toCommit.length; i++) { const item = toCommit[i]; @@ -5172,7 +5172,7 @@ Return ONLY a valid JSON object with an array named "results": const selectedUrl = stashImgState.customUrlMap[p.id] || stashImgState.selectedImageMap[p.id] || ''; const customUrl = stashImgState.customUrlMap[p.id] || ''; - const stashBase = (stashServerUrlInput ? stashServerUrlInput.value.trim() : 'http://servervm.local:9999').replace(/\/+$/, ''); + const stashBase = (stashEndpointInput ? stashEndpointInput.value.trim() : 'http://servervm.local:9999').replace(/\/+$/, ''); const stashProfileUrl = `${stashBase}/performers/${p.id}`; let candidatesHTML = '';