diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-08 14:30:29 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-09 11:41:22 +0100 |
commit | b49f22d8f9a52ab75fd38db2d377249eb58fa678 (patch) | |
tree | a2825877d7b3b53454804a79c9d2a14c5d37385c /server/models/model-cache.ts | |
parent | 6c8c15f914cd375da1db5d0cd4d924a86c53d4c1 (diff) | |
download | PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.gz PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.zst PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.zip |
Upgrade sequelize to v6
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 | }) { |