Skip to content

Commit 075f5b1

Browse files
committed
fix
1 parent eaa9bc3 commit 075f5b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/changelog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ async function getWARPReleases(): Promise<Array<CollectionEntry<"changelog">>> {
6565
hidden: false,
6666
date: releaseDate,
6767
products: [{ id: "zero-trust-warp", collection: "products" }],
68+
scheduled: false,
6869
},
6970
rendered: {
7071
html: marked.parse([prefix, releaseNotes].join("\n\n"), {
@@ -143,7 +144,7 @@ export async function getRSSItems({
143144
}: GetRSSItemsOptions): Promise<Array<RSSFeedItem>> {
144145
return await Promise.all(
145146
notes.map(async (note) => {
146-
const { title, date, products, scheduled } = note.data;
147+
const { title, date, products } = note.data;
147148

148149
const productEntries = await getEntries(products);
149150
const productTitles = productEntries.map((p) => p.data.name as string);
@@ -180,7 +181,6 @@ export async function getRSSItems({
180181
categories: productTitles,
181182
link: `/changelog/${note.id}/`,
182183
customData: `<product>${productTitles.at(0)}</product>`,
183-
scheduled: scheduled,
184184
};
185185
}),
186186
);

0 commit comments

Comments
 (0)