mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-20 10:16:43 -06:00
Revert "Update current inbox if exists"
This reverts commit f44ab0f678
.
This commit is contained in:
parent
f44ab0f678
commit
26ff0b634f
@ -216,19 +216,6 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inboxId = inbox.id;
|
inboxId = inbox.id;
|
||||||
const data = {
|
|
||||||
type: 'api',
|
|
||||||
webhook_url: webhookUrl,
|
|
||||||
};
|
|
||||||
await client.inboxes.update({
|
|
||||||
id: inboxId,
|
|
||||||
accountId: this.provider.account_id,
|
|
||||||
data: {
|
|
||||||
enable_auto_assignment: false,
|
|
||||||
name: inboxName,
|
|
||||||
channel: data as any,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logger.verbose('find contact in chatwoot and create if not exists');
|
this.logger.verbose('find contact in chatwoot and create if not exists');
|
||||||
|
Loading…
Reference in New Issue
Block a user