diff --git a/packages/common/src/services/FavoriteService.ts b/packages/common/src/services/FavoriteService.ts index b6eb968f6..e4b8ecfc5 100644 --- a/packages/common/src/services/FavoriteService.ts +++ b/packages/common/src/services/FavoriteService.ts @@ -17,7 +17,7 @@ const schema = array( object().shape({ mediaid: string(), }), -); +).nullable(); @injectable() export default class FavoriteService { diff --git a/packages/common/src/services/WatchHistoryService.ts b/packages/common/src/services/WatchHistoryService.ts index c8beaa396..76a9a1ca5 100644 --- a/packages/common/src/services/WatchHistoryService.ts +++ b/packages/common/src/services/WatchHistoryService.ts @@ -18,7 +18,7 @@ const schema = array( mediaid: string(), progress: number(), }), -); +).nullable(); @injectable() export default class WatchHistoryService {