]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/model-cache.ts
Support short uuid for GET video/playlist
[github/Chocobozzz/PeerTube.git] / server / models / model-cache.ts
index a87f99aa2adea5ab591a64d897047dd6978eb39f..eafb5c13ce5e82521bade4749aaea9d1c8560db5 100644 (file)
@@ -40,7 +40,7 @@ class ModelCache {
   doCache<T extends Model> (options: {
     cacheType: ModelCacheType
     key: string
-    fun: () => Bluebird<T>
+    fun: () => Promise<T>
     whitelist?: () => boolean
     deleteKey?: DeleteKey
   }) {