From 1bf2a9c72437a9d5dad4cf1f7246735b61c35b7c Mon Sep 17 00:00:00 2001 From: Chenyang Shi Date: Tue, 30 Apr 2019 00:22:40 +0800 Subject: [PATCH] feat: github issue add author (#2016) --- lib/routes/github/issue.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/github/issue.js b/lib/routes/github/issue.js index 78f8d7ff5..54f88f997 100644 --- a/lib/routes/github/issue.js +++ b/lib/routes/github/issue.js @@ -30,6 +30,7 @@ module.exports = async (ctx) => { title: item.title, description: md.render(item.body) || 'No description', pubDate: new Date(item.created_at).toUTCString(), + author: item.user.login, link: `${host}/${item.number}`, })), };