fix: satisfy gate checks

This commit is contained in:
Peter Steinberger committed 2026-01-04 01:16:53 +01:00
1 parent e3c543ec06
commit 8724c2aea8
8 files changed
+29 -30

No files matched your search

+1 -7
View File
@@ -67,13 +67,7 @@ export async function sendMessageWhatsApp(
? { gifPlayback: true }
: undefined;
const result = sendOptions
? await active.sendMessage(
to,
text,
mediaBuffer,
mediaType,
sendOptions,
)
? await active.sendMessage(to, text, mediaBuffer, mediaType, sendOptions)
: await active.sendMessage(to, text, mediaBuffer, mediaType);
const messageId =
(result as { messageId?: string })?.messageId ?? "unknown";