Skip to content

Commit 8e983a1

Browse files
committed
I love bugs, that's why I make so many :)
1 parent 8435924 commit 8e983a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function post(data, onMessage, onStatus) {
6767
const phoneID = value.metadata.phone_number_id;
6868

6969
// Check if the message is a message
70-
if (value.message) {
70+
if (value.messages) {
7171
const contact = value.contacts[0];
7272

7373
const phone = contact.wa_id;

0 commit comments

Comments
 (0)