Skip to content

Commit 42c9ad1

Browse files
committed
feed date fix
1 parent 9e9d4b3 commit 42c9ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/routes/feeds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ routes.get('/thrive', async (req, res, next) => {
4646
title: entry.fields.title,
4747
description: ReactDOMServer.renderToString(md(entry.fields.content)),
4848
url: `https://topcoder.com/thrive/articles/${entry.fields.slug || encodeURIComponent(entry.fields.title)}?utm_source=thrive&utm_campaign=thrive-feed&utm_medium=rss-feed`,
49-
date: entry.fields.creationDate,
49+
date: entry.sys.createdAt,
5050
categories: entry.fields.tags,
5151
author: entry.fields.contentAuthor[0].fields.name,
5252
});

0 commit comments

Comments
 (0)