Skip to content

Commit

Permalink
fix: lru-cache declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Jun 27, 2024
1 parent d042dd4 commit 7f57596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/api/services/authorisations/authorisations.service.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import _ from 'lodash'
import { LRUCache } from 'lru-cache'
import lruCache from 'lru-cache'
import makeDebug from 'debug'
import { defineAbilities } from '../../../common/permissions.js'

const debug = makeDebug('kdk:core:authorisations:service')
const { LRUCache } = lruCache

// Global key to store abilities in cache for anonymous users
const ANONYMOUS_USER = 'anonymous'
Expand Down

0 comments on commit 7f57596

Please sign in to comment.