File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -657,25 +657,27 @@ class FollowUpService {
657657 return null ;
658658 }
659659
660+ console . log ( lastOutbound , 'last outbound activity awaiting reply' ) ;
661+
660662 // Handle absent reminder outside journey
661663 if ( lastOutbound . messageType === 'absent_reminder' ) {
662- const result = await this . _handleAbsentReminderReply (
663- memberByPhone ,
664- cleanedPhone ,
665- reply
666- ) ;
667-
668- await WhatsappActivity . findOneAndUpdate (
669- {
670- _id : lastOutbound . _id ,
671- conversationStage : 'awaiting_reply'
672- } ,
673- {
674- $set : { conversationStage : 'completed' }
675- }
676- ) ;
677-
678- return result ? { action : result . action } : null ;
664+ // const result = await this._handleAbsentReminderReply(
665+ // memberByPhone,
666+ // cleanedPhone,
667+ // reply
668+ // );
669+
670+ // await WhatsappActivity.findOneAndUpdate(
671+ // {
672+ // _id: lastOutbound._id,
673+ // conversationStage: 'awaiting_reply'
674+ // },
675+ // {
676+ // $set: { conversationStage: 'completed' }
677+ // }
678+ // );
679+
680+ // return result ? { action: result.action } : null;
679681 }
680682
681683 // console.log(`Active journey found: ${!!journey}`);
You can’t perform that action at this time.
0 commit comments