fix: Use correct stashEndpointInput element reference in Stash image review module
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user