修复github地址 (#1763)

This commit is contained in:
Ethan H
2019-03-18 15:10:23 +08:00
committed by DIYgod
parent ff821f201f
commit c81c7469a3

View File

@@ -8,7 +8,7 @@ module.exports = async (ctx) => {
const user = ctx.params.user;
const repo = ctx.params.repo;
const host = `https://github.com/${user}/${repo}/pull`;
const host = `https://github.com/${user}/${repo}/pulls`;
const url = `https://api.github.com/repos/${user}/${repo}/pulls`;
const response = await axios({