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

@@ -37,6 +37,7 @@ module.exports = async (ctx) => {
const data = response.data.data.user.followers.edges;
ctx.state.data = {
allowEmpty: true,
title: `${user}'s followers`,
link: host,
item: data.map((follower) => ({