Merge Dev In Staging

This commit is contained in:
Arnaud D. Natali 2023-10-24 21:53:56 +02:00 committed by GitHub
commit 0d740e0716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@ export interface IGetNotificationsParams {
where?: {}; where?: {};
include?: {}; include?: {};
select?: {}; select?: {};
orderBy?: {};
} }
export type IPutNotificationsParams = { export type IPutNotificationsParams = {

View File

@ -39,6 +39,12 @@ export default function Navigation() {
where: { where: {
read: false, read: false,
}, },
include: {
notification: true
},
orderBy: {
notification: {created_at: "desc"},
}
}); });
notifications.forEach((notification) => { notifications.forEach((notification) => {
Toasts.getInstance().open({ Toasts.getInstance().open({