diff --git a/src/notification/notification.service.ts b/src/notification/notification.service.ts index ff721c3..aa3ee6a 100644 --- a/src/notification/notification.service.ts +++ b/src/notification/notification.service.ts @@ -92,10 +92,10 @@ export async function listNotifications( ]); if (notifications[0].data.length === 0) - return { orgs: [], metadata: { count: 0, page, pageSize } }; + return { notifications: [], metadata: { count: 0, page, pageSize } }; return { - orgs: notifications[0].data, + notifications: notifications[0].data, metadata: { count: notifications[0].metadata[0].count, page,