Skip to content

Commit

Permalink
fix: userId must be mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
ilasw committed Jan 10, 2025
1 parent 0b7713c commit aed0d4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/contentPreference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,10 @@ export const whereNotUserBlocked = (
{
userId,
feedId,
}: Partial<{
}: {
userId: string;
feedId: string;
}>,
feedId?: string;
},
) => {
const feedIds = feedId ? [feedId, userId] : [userId];
const query = qb
Expand Down

0 comments on commit aed0d4e

Please sign in to comment.