fix: list notificatio not filtered deleted
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
This commit is contained in:
parent
c7fae98516
commit
615ba23e47
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ export class NotificationController extends Controller {
|
|||
],
|
||||
NOT: {
|
||||
readByUser: { some: { id: req.user.sub } },
|
||||
deleteByUser: { some: { id: req.user.sub } },
|
||||
createdAt: { lte: dayjs().subtract(7, "days").toDate() },
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue