🔊 more

This commit is contained in:
Baptiste Arnaud
2024-04-17 12:10:19 +02:00
parent 7e85132213
commit 555e6d3170
2 changed files with 9 additions and 3 deletions

View File

@@ -87,7 +87,11 @@ const processWhatsAppReply = async ({
.metadata.phone_number_id
if (!phoneNumberId) return { message: 'No phone number id found' }
console.log('Received message:', receivedMessage)
console.log('sessionId', `wa-${phoneNumberId}-${receivedMessage.from}`)
console.log(
'sessionId',
`wa-${phoneNumberId}-${receivedMessage.from}`,
new Date().toISOString()
)
try {
const { message } = await resumeWhatsAppFlow({
receivedMessage,