Skip to content

Commit

Permalink
fix: sort by created at for activity feed
Browse files Browse the repository at this point in the history
  • Loading branch information
ainouzgali committed May 16, 2023
1 parent 2be38d2 commit f8a6826
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 f8a6826

Please sign in to comment.