Skip to content

Commit 4dbca98

Browse files
authored
Fix autodiscovery handling of 2xx (non-200) codes (#4833)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 54e8f3c commit 4dbca98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autodiscovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ export class AutoDiscovery {
462462
};
463463
}
464464

465-
if (!response.ok) {
465+
if (response.status !== 200) {
466466
return {
467467
raw: {},
468468
action: AutoDiscoveryAction.FAIL_PROMPT,

0 commit comments

Comments
 (0)