Skip to content

Commit

Permalink
proper fix neutral notif index for all dismissed/undismissed notifs
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamidev committed Nov 5, 2024
1 parent 5388fd6 commit a8104e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desci-server/src/services/NotificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const getUserNotifications = async (
const skip = (page - 1) * perPage;
const whereClause = {
userId,
dismissed,
...(dismissed && { dismissed }),
};

const [notifications, totalItems] = await Promise.all([
Expand Down

0 comments on commit a8104e4

Please sign in to comment.