revert changes

This commit is contained in:
Thomas Camlong committed 2026-05-27 16:23:44 +02:00
1 parent 1b19248262
commit 51004f0857
3 files changed
+3 -7

No files matched your search

+1 -2
View File
@@ -474,8 +474,7 @@ export const getIntegrationDefaultPort = (kind: IntegrationKind): number | undef
export const getIntegrationApiKeyUrl = (integrationUrl: string, kind: IntegrationKind): string | null => {
const definition = integrationDefs[kind];
if (!("apiKeySettingsPath" in definition)) return null;
let base = integrationUrl;
while (base.endsWith("/")) base = base.slice(0, -1);
const base = integrationUrl.replace(/\/+$/, "");
if (!base) return null;
return `${base}${definition.apiKeySettingsPath}`;
};