diff --git a/lib/routes/sorrycc/index.ts b/lib/routes/sorrycc/index.ts index f9f3d6cc5..6d96a4db9 100644 --- a/lib/routes/sorrycc/index.ts +++ b/lib/routes/sorrycc/index.ts @@ -46,7 +46,7 @@ async function handler(ctx: Context): Promise { data.map(async (item) => { const title = item.title.rendered; const link = item.link; - const published = parseDate(item.date_gmt); + const pubDate = parseDate(item.date_gmt); const updated = parseDate(item.modified_gmt); if (item.categories.includes(7) && cookie) { return (await cache.tryGet(link, async () => { @@ -61,7 +61,7 @@ async function handler(ctx: Context): Promise { title, description, link, - published, + pubDate, updated, }; })) as unknown as DataItem; @@ -70,7 +70,7 @@ async function handler(ctx: Context): Promise { title, description: item.content.rendered, link, - published, + pubDate, updated, } as DataItem; })