forked from wangziqi/gongxue-base
fix: revert untracked ExpenseType refs, fix findByUser falsy cursor check
This commit is contained in:
@@ -46,7 +46,7 @@ export class NotificationsService {
|
||||
.orderBy('n.createdAt', 'DESC')
|
||||
.take(limit);
|
||||
|
||||
if (after) {
|
||||
if (after !== undefined) {
|
||||
qb.andWhere('n.id < :after', { after });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user