From 4dbca983b4fb436002e2535efee760fd4df272e4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 12 May 2025 19:51:30 +0100 Subject: [PATCH] Fix autodiscovery handling of 2xx (non-200) codes (#4833) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/autodiscovery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autodiscovery.ts b/src/autodiscovery.ts index 964c5982a..feef8c181 100644 --- a/src/autodiscovery.ts +++ b/src/autodiscovery.ts @@ -462,7 +462,7 @@ export class AutoDiscovery { }; } - if (!response.ok) { + if (response.status !== 200) { return { raw: {}, action: AutoDiscoveryAction.FAIL_PROMPT, -- GitLab