You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli/index.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -100,13 +100,6 @@ async function start() {
100
100
}
101
101
})
102
102
103
-
if(cliConfig?.chatwootUrl){
104
-
spinner.info('Setting Up Chatwoot handler');
105
-
spinner.info('Make sure to set up the Chatwoot inbox webhook to the following path on this process: /chatwoot');
106
-
awaitsetupChatwoot(cliConfig,client);
107
-
spinner.succeed('Chatwoot handler set up successfully');
108
-
}
109
-
110
103
if(cliConfig?.botPressUrl){
111
104
spinner.info('Setting Up Botpress handler');
112
105
setupBotPressHandler(cliConfig,client)
@@ -138,6 +131,13 @@ async function start() {
138
131
setupAuthenticationLayer(cliConfig)
139
132
}
140
133
134
+
if(cliConfig?.chatwootUrl){
135
+
spinner.info('Setting Up Chatwoot handler');
136
+
spinner.info(`Make sure to set up the Chatwoot inbox webhook to the following path on this process: /chatwoot${cliConfig.key ? `?api_key=YOUR-API-KEY` : ''}`);
137
+
awaitsetupChatwoot(cliConfig,client);
138
+
spinner.succeed('Chatwoot handler set up successfully');
0 commit comments