From cb998b38d3b649e05706446690de204974adc7c6 Mon Sep 17 00:00:00 2001 From: Igal Steklov Date: Thu, 4 Apr 2024 14:18:31 +0300 Subject: [PATCH] Latest Announcements: Fix error of wrong pointer --- workspaces/cms-data/src/settings/latest-announcements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/cms-data/src/settings/latest-announcements.ts b/workspaces/cms-data/src/settings/latest-announcements.ts index 93c5879cfb..91d142eb9d 100644 --- a/workspaces/cms-data/src/settings/latest-announcements.ts +++ b/workspaces/cms-data/src/settings/latest-announcements.ts @@ -17,7 +17,7 @@ export async function getLatestAnnouncements( context ); - return latestAnnouncements; + return latestAnnouncements.announcements; } catch (cause) { throw new Error("getLatestAnnouncements failed!", { cause,