fix: revert untracked ExpenseType refs, fix findByUser falsy cursor check

This commit is contained in:
2026-07-05 23:05:25 +08:00
parent 5f14b9ff15
commit ce36a92482
2 changed files with 1 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ export class NotificationsService {
.orderBy('n.createdAt', 'DESC')
.take(limit);
if (after) {
if (after !== undefined) {
qb.andWhere('n.id < :after', { after });
}