DaggieBlanqx/whatsappcloudapi_wrapper

⚠ warning WARNING: "headers" is missing.

Closed this issue · 1 comments

The terminal constantly throws an error when calling function:

await Whatsapp.sendText({
        message: body,
        recipientPhone: recipientPhone,
 });

⚠ warning WARNING: "headers" is missing.

just edit the code lib on index.js

if (!headers && !defaultHeaders()) { signale.warn(WARNING: "headers" is missing.); }