filter bug fix
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user