diff --git a/src/channels/whatsapp.ts b/src/channels/whatsapp.ts index 8b2b1a613..8b8bdecae 100644 --- a/src/channels/whatsapp.ts +++ b/src/channels/whatsapp.ts @@ -32,13 +32,7 @@ import { readEnvFile } from '../env.js'; import { log } from '../log.js'; import { registerChannelAdapter } from './channel-registry.js'; import { normalizeOptions, type NormalizedOption } from './ask-question.js'; -import type { - ChannelAdapter, - ChannelSetup, - ConversationInfo, - InboundMessage, - OutboundMessage, -} from './adapter.js'; +import type { ChannelAdapter, ChannelSetup, ConversationInfo, InboundMessage, OutboundMessage } from './adapter.js'; // Baileys v6 bug: getPlatformId sends charCode (49) instead of enum value (1). // Fixed in Baileys 7.x but not backported. Without this, pairing codes fail with @@ -718,7 +712,6 @@ registerChannelAdapter('whatsapp', { return []; } }, - }; return adapter;