fix: allow empty for github feed (#4174)

This commit is contained in:
hoilc
2020-03-08 23:12:30 +08:00
committed by GitHub
parent 60091e696d
commit 7651dd0018
6 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ module.exports = async (ctx) => {
const data = response.data;
ctx.state.data = {
allowEmpty: true,
title: `${user}/${repo} Pull requests`,
link: host,
item: data.map((item) => ({