While using DeclinePullrequest Method,it is failing with status code 405.
FlurlHttpException: DELETE http://bitbucket.org/rest/api/1.0/projects/{projectkey}/repos/{slug}/pull-requests/1898/decline?version=2 failed with status code 405 ().
This is the method I have defined using the bitbucket package
While using DeclinePullrequest Method,it is failing with status code 405.
FlurlHttpException: DELETE http://bitbucket.org/rest/api/1.0/projects/{projectkey}/repos/{slug}/pull-requests/1898/decline?version=2 failed with status code 405 ().
This is the method I have defined using the bitbucket package
`public bool DeclineUnapprovedBuildMasterPullRequests() { var openBuildMasterUnapprovedPullRequests = GetOpenBuildMasterPullRequests().Where(pr=> pr.Reviewers.Count(rev => rev.Approved) <PULL_APPROVAL_THRESHOLD).ToList();
`