From f8f90133a74cd73ec2159a8e4d11a1c3d8e65bde Mon Sep 17 00:00:00 2001 From: st4rz <42708989+Bintang73@users.noreply.github.com> Date: Fri, 13 Oct 2023 09:24:16 +0700 Subject: [PATCH] Fix Headers is Missing --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7c528df..a7d95f4 100644 --- a/index.js +++ b/index.js @@ -57,7 +57,7 @@ class WhatsappCloud { ); } - if (!headers) { + if (!headers && !defaultHeaders()) { signale.warn(`WARNING: "headers" is missing.`); }