mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 11:52:20 -06:00
feat: pusher event integration
This commit is contained in:
5
src/cache/localcache.ts
vendored
5
src/cache/localcache.ts
vendored
@@ -1,8 +1,8 @@
|
||||
import { ICache } from '@api/abstract/abstract.cache';
|
||||
import { CacheConf, CacheConfLocal, ConfigService } from '@config/env.config';
|
||||
import NodeCache from 'node-cache';
|
||||
import { BufferJSON } from 'baileys';
|
||||
import { Logger } from '@config/logger.config';
|
||||
import { BufferJSON } from 'baileys';
|
||||
import NodeCache from 'node-cache';
|
||||
|
||||
export class LocalCache implements ICache {
|
||||
private readonly logger = new Logger('LocalCache');
|
||||
@@ -74,7 +74,6 @@ export class LocalCache implements ICache {
|
||||
|
||||
hash[field] = json;
|
||||
LocalCache.localCache.set(this.buildKey(key), hash);
|
||||
|
||||
} catch (error) {
|
||||
this.logger.error(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user