Skip to content

Commit cb998b3

Browse files
committed
Latest Announcements: Fix error of wrong pointer
1 parent 3239c8b commit cb998b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspaces/cms-data/src/settings/latest-announcements.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function getLatestAnnouncements(
1717
context
1818
);
1919

20-
return latestAnnouncements;
20+
return latestAnnouncements.announcements;
2121
} catch (cause) {
2222
throw new Error("getLatestAnnouncements failed!", {
2323
cause,

0 commit comments

Comments
 (0)