fix(route)(firefox): route for firefox addons (#7239)

Co-authored-by: NeverBehave <gayhub@never.pet>
This commit is contained in:
UniQMG522
2021-10-05 02:13:50 -07:00
committed by GitHub
co-authored by NeverBehave
parent b20d4825e1
commit b46232191a
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = async (ctx) => {
title: version,
description: versionInfo.releaseNotes || '',
link: `https://addons.mozilla.org/zh-CN/firefox/addon/${id}/versions/`,
pubDate: new Date(versionInfo.platformFiles.all.created).toUTCString(),
pubDate: new Date(versionInfo.file.created),
guid: version,
author: info.authors.map((author) => author.name).join(', '),
};