Skip to content

Commit

Permalink
Merge pull request #28 from Bintang73/patch-1
Browse files Browse the repository at this point in the history
Fix Headers is Missing
  • Loading branch information
DaggieBlanqx authored Apr 10, 2024
2 parents a0de58c + f8f9013 commit 05cb697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class WhatsappCloud {
);
}

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

Expand Down

0 comments on commit 05cb697

Please sign in to comment.