From d8f39b126d9fe4bec1c12fb213548cc6edc87867 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Jun 2023 14:51:16 +0200 Subject: Add storyboard support --- server/lib/redis.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/redis.ts') diff --git a/server/lib/redis.ts b/server/lib/redis.ts index 8430b2227..48d9986b5 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts @@ -325,8 +325,8 @@ class Redis { const value = await this.getValue('resumable-upload-' + uploadId) return value - ? JSON.parse(value) - : '' + ? JSON.parse(value) as { video: { id: number, shortUUID: string, uuid: string } } + : undefined } deleteUploadSession (uploadId: string) { -- cgit v1.2.3