diff options
Diffstat (limited to 'server/models/model-cache.ts')
-rw-r--r-- | server/models/model-cache.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/model-cache.ts b/server/models/model-cache.ts index a87f99aa2..eafb5c13c 100644 --- a/server/models/model-cache.ts +++ b/server/models/model-cache.ts | |||
@@ -40,7 +40,7 @@ class ModelCache { | |||
40 | doCache<T extends Model> (options: { | 40 | doCache<T extends Model> (options: { |
41 | cacheType: ModelCacheType | 41 | cacheType: ModelCacheType |
42 | key: string | 42 | key: string |
43 | fun: () => Bluebird<T> | 43 | fun: () => Promise<T> |
44 | whitelist?: () => boolean | 44 | whitelist?: () => boolean |
45 | deleteKey?: DeleteKey | 45 | deleteKey?: DeleteKey |
46 | }) { | 46 | }) { |