mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
fix(starters): base templates are added for meta
This commit is contained in:
@@ -34,7 +34,7 @@ class MetaWebHookServer extends EventEmitter {
|
||||
this.emit('message', {
|
||||
from: message.from,
|
||||
to,
|
||||
body: message.text.body,
|
||||
body: message.text?.body,
|
||||
})
|
||||
const json = JSON.stringify({ body })
|
||||
res.end(json)
|
||||
|
||||
Reference in New Issue
Block a user