fix: satisfy gate checks

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

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";