Skip to content

Commit

Permalink
fix(order): fixed notifications order
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Omote committed Feb 21, 2024
1 parent 65f78ab commit 00f9308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/websocket.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class WebSocketService
const notifications = await this.notification.notifications({
where: { recipientId: userSub },
take: 50,
orderBy: { timestamp: 'desc' }

Check failure on line 66 in src/websocket.service.ts

View workflow job for this annotation

GitHub Actions / Linter

Insert `,`
});

notifications.forEach((notification) => {
Expand Down

0 comments on commit 00f9308

Please sign in to comment.