diff --git a/src/web/inbound/brazil-jid.ts b/src/web/inbound/brazil-jid.ts index 51f2c6f59..531d9e0dc 100644 --- a/src/web/inbound/brazil-jid.ts +++ b/src/web/inbound/brazil-jid.ts @@ -119,7 +119,7 @@ interface OnWhatsAppResult { } interface SockWithOnWhatsApp { - onWhatsApp?: (jid: string) => Promise; + onWhatsApp?: (jid: string) => Promise; } /** diff --git a/src/web/inbound/send-api.ts b/src/web/inbound/send-api.ts index c21a0f66b..cc864e9a7 100644 --- a/src/web/inbound/send-api.ts +++ b/src/web/inbound/send-api.ts @@ -13,7 +13,7 @@ export function createWebSendApi(params: { sock: { sendMessage: (jid: string, content: AnyMessageContent) => Promise; sendPresenceUpdate: (presence: WAPresence, jid?: string) => Promise; - onWhatsApp?: (jid: string) => Promise; + onWhatsApp?: (jid: string) => Promise; }; defaultAccountId: string; }) { @@ -23,7 +23,10 @@ export function createWebSendApi(params: { try { return await resolveBrazilianJid(params.sock, jid); } catch (err) { - console.warn('[send-api] Brazil JID resolution failed, using original:', (err as Error).message); + console.warn( + "[send-api] Brazil JID resolution failed, using original:", + (err as Error).message, + ); return jid; } }