Skip to content

Commit

Permalink
Latest Announcements: Fix error of wrong pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
igalst committed Apr 4, 2024
1 parent 3239c8b commit cb998b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/cms-data/src/settings/latest-announcements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function getLatestAnnouncements(
context
);

return latestAnnouncements;
return latestAnnouncements.announcements;
} catch (cause) {
throw new Error("getLatestAnnouncements failed!", {
cause,
Expand Down

0 comments on commit cb998b3

Please sign in to comment.