mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
fix: add missing author field in github and gitlab routes. (#5698)
This commit is contained in:
@@ -33,6 +33,7 @@ module.exports = async (ctx) => {
|
||||
link: host,
|
||||
item: data.map((item) => ({
|
||||
title: item.title,
|
||||
author: item.user.login,
|
||||
description: item.body ? md.render(item.body) : 'No description',
|
||||
pubDate: new Date(item.created_at).toUTCString(),
|
||||
link: `${link}/${item.number}`,
|
||||
|
||||
Reference in New Issue
Block a user