From c81c7469a321f7749a6b5a694f3086adb13ec805 Mon Sep 17 00:00:00 2001 From: Ethan H Date: Mon, 18 Mar 2019 15:10:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgithub=E5=9C=B0=E5=9D=80=20(#?= =?UTF-8?q?1763)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/github/pulls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/github/pulls.js b/lib/routes/github/pulls.js index d615b2bc1a..c1c6d567e7 100644 --- a/lib/routes/github/pulls.js +++ b/lib/routes/github/pulls.js @@ -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({