Skip to content

Commit

Permalink
fix: global site error when personal shelf schema is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Dec 4, 2024
1 parent c7e5d91 commit 636414f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/services/FavoriteService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const schema = array(
object().shape({
mediaid: string(),
}),
);
).nullable();

@injectable()
export default class FavoriteService {
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/services/WatchHistoryService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const schema = array(
mediaid: string(),
progress: number(),
}),
);
).nullable();

@injectable()
export default class WatchHistoryService {
Expand Down

0 comments on commit 636414f

Please sign in to comment.