mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-26 02:18:38 -06:00
fix lint
This commit is contained in:
parent
b3dae7a68e
commit
afd0e01ddb
@ -568,7 +568,9 @@ export class ChatwootService {
|
|||||||
|
|
||||||
public async createConversation(instance: InstanceDto, body: any) {
|
public async createConversation(instance: InstanceDto, body: any) {
|
||||||
if (!body?.key) {
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2283,7 +2285,9 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!body?.key?.id) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user