schema fix

This commit is contained in:
2025-02-07 11:20:21 +05:30
parent 6430ccd96d
commit a130d0cb73

View File

@@ -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,