mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
Merge pull request #248 from gabrielpastori1/fix-chatwoot-find
Fix chatwoot find
This commit is contained in:
commit
d14505d59a
@ -64,7 +64,7 @@ export class ChatwootController {
|
|||||||
|
|
||||||
const urlServer = this.configService.get<HttpServer>('SERVER').URL;
|
const urlServer = this.configService.get<HttpServer>('SERVER').URL;
|
||||||
|
|
||||||
if (Object.keys(result).length === 0) {
|
if (Object.keys(result || {}).length === 0) {
|
||||||
return {
|
return {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
url: '',
|
url: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user