From 18bbd11f21b42d103c34862d50b4378a2874d7da Mon Sep 17 00:00:00 2001 From: maxjeffos <44034094+maxjeffos@users.noreply.github.com> Date: Wed, 20 Jan 2021 16:27:55 -0500 Subject: [PATCH] fix: add pullRef (PR ID) to path for updating fix pr --- client-templates/azure-repos/accept.json.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-templates/azure-repos/accept.json.sample b/client-templates/azure-repos/accept.json.sample index ad788b3a2..72fd439cc 100644 --- a/client-templates/azure-repos/accept.json.sample +++ b/client-templates/azure-repos/accept.json.sample @@ -235,7 +235,7 @@ { "//": "update existing PR in given repository", "method": "PATCH", - "path": "/:owner/_apis/git/repositories/:repo/pullrequests", + "path": "/:owner/_apis/git/repositories/:repo/pullrequests/:pullRef", "origin": "https://${AZURE_REPOS_HOST}/${AZURE_REPOS_ORG}", "auth": { "scheme": "basic",