This commit is contained in:
Rafael Souza 2025-07-17 15:59:33 -03:00
parent b3dae7a68e
commit afd0e01ddb

View File

@ -568,7 +568,9 @@ export class ChatwootService {
public async createConversation(instance: InstanceDto, body: any) {
if (!body?.key) {
this.logger.warn(`body.key is null or undefined in createConversation. Full body object: ${JSON.stringify(body)}`);
this.logger.warn(
`body.key is null or undefined in createConversation. Full body object: ${JSON.stringify(body)}`,
);
return null;
}
@ -2283,7 +2285,9 @@ export class ChatwootService {
}
if (!body?.key?.id) {
this.logger.warn(`body.key.id is null or undefined in messages.edit. Full body object: ${JSON.stringify(body)}`);
this.logger.warn(
`body.key.id is null or undefined in messages.edit. Full body object: ${JSON.stringify(body)}`,
);
return;
}