From 97e0f8d551ea8e2731e4178bea019f8c0eee1a03 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 22:55:46 +0000 Subject: [PATCH] fix(onboarding): keep wildcard allowFrom helper string-typed --- src/channels/plugins/onboarding/helpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/channels/plugins/onboarding/helpers.ts b/src/channels/plugins/onboarding/helpers.ts index 4bed42fea..8eaa3f0f9 100644 --- a/src/channels/plugins/onboarding/helpers.ts +++ b/src/channels/plugins/onboarding/helpers.ts @@ -5,9 +5,7 @@ export const promptAccountId: PromptAccountId = async (params: PromptAccountIdPa return await promptAccountIdSdk(params); }; -export function addWildcardAllowFrom( - allowFrom?: Array | null, -): Array { +export function addWildcardAllowFrom(allowFrom?: Array | null): string[] { const next = (allowFrom ?? []).map((v) => String(v).trim()).filter(Boolean); if (!next.includes("*")) { next.push("*");