File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11FROM node:20.7.0-alpine
22
3- LABEL version="1.5.2 " description="Api to control whatsapp features through http requests."
3+ LABEL version="1.5.3 " description="Api to control whatsapp features through http requests."
44LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
55LABEL contact="contato@agenciadgcode.com"
66
Original file line number Diff line number Diff line change 11{
22 "name" : " evolution-api" ,
3- "version" : " 1.5.2 " ,
3+ "version" : " 1.5.3 " ,
44 "description" : " Rest api for communication with WhatsApp" ,
55 "main" : " ./dist/src/main.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ export class TypebotService {
111111
112112 const prefilledVariables = {
113113 remoteJid : remoteJid ,
114+ instanceName : instance . instanceName ,
114115 } ;
115116
116117 variables . forEach ( ( variable ) => {
@@ -525,7 +526,7 @@ export class TypebotService {
525526 return ;
526527 }
527528
528- if ( content . toLowerCase ( ) === keyword_finish . toLowerCase ( ) ) {
529+ if ( keyword_finish && content . toLowerCase ( ) === keyword_finish . toLowerCase ( ) ) {
529530 sessions . splice ( sessions . indexOf ( session ) , 1 ) ;
530531
531532 const typebotData = {
You can’t perform that action at this time.
0 commit comments