rss: fix douban event hot title

This commit is contained in:
DIYgod 2018-10-19 01:32:28 +08:00
parent 5d5f0a3fa5
commit f80098af2b
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module.exports = async (ctx) => {
});
ctx.state.data = {
title: '豆瓣同城-热门活动-locationId',
title: `豆瓣同城-热门活动-${locationId}`,
link: referer,
item: response.data.subject_collection_items.map(({ title, url, date, cover, subtype, info, price_range }) => {
const pubDate = new Date(date).toUTCString();