diff --git a/src/Store/make-cache-manager-store.ts b/src/Store/make-cache-manager-store.ts index f870080..c93ccc0 100644 --- a/src/Store/make-cache-manager-store.ts +++ b/src/Store/make-cache-manager-store.ts @@ -1,10 +1,10 @@ -import { caching, Store } from 'cache-manager' +import { caching, Storage } 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: Store, sessionKey: string) => { +const makeCacheManagerAuthState = async(store: Storage, sessionKey: string) => { const defaultKey = (file: string): string => `${sessionKey}:${file}` const databaseConn = await caching(store) @@ -97,4 +97,4 @@ const makeCacheManagerAuthState = async(store: Store, sessionKey: string) => { } } -export default makeCacheManagerAuthState \ No newline at end of file +export default makeCacheManagerAuthState