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

@@ -46,6 +46,7 @@ module.exports = async (ctx) => {
const data = response.data.data.user.starredRepositories.edges;
ctx.state.data = {
allowEmpty: true,
title: `${user}s starred repositories`,
link: host,
description: `${user}s starred repositories`,