style: apply prettier to whatsapp.ts

This commit is contained in:
gavrielc
2026-04-22 12:02:22 +03:00
parent 3a29674b46
commit 4dfc2e3a24
+1 -8
View File
@@ -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;