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

@@ -19,6 +19,7 @@ module.exports = async (ctx) => {
});
const data = response.data;
ctx.state.data = {
allowEmpty: true,
title: `${user}'s GitHub repositories`,
link: `https://github.com/${user}`,
item: