Fix inbox name on cw config

This commit is contained in:
Judson Cairo 2024-04-21 16:37:27 -03:00
parent 3bf975d90f
commit 1f128747bb

View File

@ -85,7 +85,7 @@ export class ChatwootService {
return client; return client;
} }
public getClientCwConfig(): ChatwootAPIConfig { public getClientCwConfig(): ChatwootAPIConfig & { name_inbox: string } {
return { return {
basePath: this.provider.url, basePath: this.provider.url,
with_credentials: true, with_credentials: true,