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 3, 2024
1 parent 3505b81 commit 42e5224
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 42e5224

Please sign in to comment.