Skip to content

Commit

Permalink
Merge pull request #3429 from novuhq/fix-sort-jobs
Browse files Browse the repository at this point in the history
fix: sort by created at for activity feed
  • Loading branch information
ainouzgali authored May 16, 2023
2 parents 2be38d2 + f8a6826 commit 2a5d465
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class NotificationRepository extends BaseRepository<
.populate({
options: {
readPreference: 'secondaryPreferred',
sort: { createdAt: 1 },
},
path: 'jobs',
match: {
Expand Down

0 comments on commit 2a5d465

Please sign in to comment.