feat: lacking config tips, close #2695

This commit is contained in:
DIYgod
2019-08-15 19:27:27 +08:00
parent 883ec30621
commit 6d4e517b0b
21 changed files with 85 additions and 56 deletions

View File

@@ -16,7 +16,7 @@ module.exports = async (ctx) => {
url,
params: {
sort: 'created',
access_token: config.github.access_token,
access_token: config.github && config.github.access_token,
},
});
const data = response.data;