filter bug fix

This commit is contained in:
2025-05-03 18:25:55 +05:30
parent dbc82f53a3
commit aeda2b60a1
5 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ export async function listNotifications(
const page = params.page || 1;
const pageSize = params.pageSize || 10;
const sortObj = getSortObject(params, notificationFields);
const filterObj = getFilterObject(params);
const filterObj = getFilterObject(params) || [];
const pipeline: any = [
{