Fix autodiscovery handling of 2xx (non-200) codes (#4833)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-05-12 19:51:30 +01:00
committed by GitHub
parent 54e8f3c9d0
commit 4dbca983b4
+1 -1
View File
@@ -462,7 +462,7 @@ export class AutoDiscovery {
};
}
if (!response.ok) {
if (response.status !== 200) {
return {
raw: {},
action: AutoDiscoveryAction.FAIL_PROMPT,