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("*");