Skip to content

Commit

Permalink
fix(#681): Fixed import (credit to #611)
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpShell committed Mar 19, 2024
1 parent 8ae0025 commit c218f37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Store/make-cache-manager-store.ts
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -97,4 +97,4 @@ const makeCacheManagerAuthState = async(store: Store, sessionKey: string) => {
}
}

export default makeCacheManagerAuthState
export default makeCacheManagerAuthState

0 comments on commit c218f37

Please sign in to comment.