mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: update-cache-manager-dependency (#996)
* chore: update-cache-manager-dependency * fix: Linting --------- Co-authored-by: Eduardo <eduandy@gmail.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { caching, Storage } from 'cache-manager'
|
||||
import { caching, Store } from 'cache-manager'
|
||||
import { proto } from '../../WAProto'
|
||||
import { AuthenticationCreds } from '../Types'
|
||||
import { BufferJSON, initAuthCreds } from '../Utils'
|
||||
import logger from '../Utils/logger'
|
||||
|
||||
const makeCacheManagerAuthState = async(store: Storage, sessionKey: string) => {
|
||||
const makeCacheManagerAuthState = async(store: Store, sessionKey: string) => {
|
||||
const defaultKey = (file: string): string => `${sessionKey}:${file}`
|
||||
|
||||
const databaseConn = await caching(store)
|
||||
|
||||
Reference in New Issue
Block a user