remove unused line

This commit is contained in:
2025-09-24 11:50:16 +02:00
parent c7ad69dcd0
commit 0ed8c701ac
-2
View File
@@ -35,7 +35,6 @@ async function tryCandidate(candidate) {
headers: {'Content-Type': 'application/json'}, headers: {'Content-Type': 'application/json'},
body: JSON.stringify(body) body: JSON.stringify(body)
}); });
if (resp.status === 200) { if (resp.status === 200) {
console.log(`Found: ${candidate}`); console.log(`Found: ${candidate}`);
found = true; found = true;
@@ -43,7 +42,6 @@ async function tryCandidate(candidate) {
} else if (resp.status === 401) { } else if (resp.status === 401) {
return false; return false;
} else { } else {
// unexpected response
const text = await resp.text().catch(() => ''); const text = await resp.text().catch(() => '');
console.warn('Unexpected response', resp.status, text); console.warn('Unexpected response', resp.status, text);
return false; return false;