mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
lint
This commit is contained in:
parent
3f9e872e1c
commit
cdf822291f
@ -7,7 +7,7 @@ import Jimp from 'jimp';
|
|||||||
import mimeTypes from 'mime-types';
|
import mimeTypes from 'mime-types';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
import { ConfigService, HttpServer, ChatWoot} from '../../config/env.config';
|
import { ChatWoot, ConfigService, HttpServer } from '../../config/env.config';
|
||||||
import { Logger } from '../../config/logger.config';
|
import { Logger } from '../../config/logger.config';
|
||||||
import i18next from '../../utils/i18n';
|
import i18next from '../../utils/i18n';
|
||||||
import { ICache } from '../abstract/abstract.cache';
|
import { ICache } from '../abstract/abstract.cache';
|
||||||
@ -1895,8 +1895,7 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (event === Events.MESSAGES_DELETE) {
|
if (event === Events.MESSAGES_DELETE) {
|
||||||
|
const chatwootDelete = this.configService.get<ChatWoot>('CHATWOOT').MESSAGE_DELETE;
|
||||||
const chatwootDelete = this.configService.get<ChatWoot>('CHATWOOT').MESSAGE_DELETE
|
|
||||||
if (chatwootDelete === true) {
|
if (chatwootDelete === true) {
|
||||||
this.logger.verbose('deleting message from instance: ' + instance.instanceName);
|
this.logger.verbose('deleting message from instance: ' + instance.instanceName);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user