fix: don't lowercase Slack channel IDs (#14055)

This commit is contained in:
Sk Akram 2026-02-11 17:23:58 +05:30 committed by GitHub
parent 92702af7a2
commit 620cf381ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,7 @@ export function normalizeTargetForProvider(provider: string, raw?: string): stri
}
const providerId = normalizeChannelId(provider);
const plugin = providerId ? getChannelPlugin(providerId) : undefined;
const normalized =
plugin?.messaging?.normalizeTarget?.(raw) ?? (raw.trim().toLowerCase() || undefined);
const normalized = plugin?.messaging?.normalizeTarget?.(raw) ?? (raw.trim() || undefined);
return normalized || undefined;
}