]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/redis.ts
Support occitan
[github/Chocobozzz/PeerTube.git] / server / lib / redis.ts
index e547537c33ca602755df4bdaef3e1886f3564fc7..941f7d5574021b5f91b38bc3034276d13fbab30a 100644 (file)
@@ -6,8 +6,8 @@ import { CONFIG, USER_PASSWORD_RESET_LIFETIME, VIDEO_VIEW_LIFETIME } from '../in
 
 type CachedRoute = {
   body: string,
-  contentType: string
-  statusCode: string
+  contentType?: string
+  statusCode?: string
 }
 
 class Redis {