Убрал использование админ токена, где это не нужно

This commit is contained in:
upagge 2020-10-11 07:53:26 +03:00
parent a6e3dc785c
commit 7975a28955
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -75,7 +75,7 @@ public class PullRequestBitbucketParser implements PullRequestParser {
pullRequestsService.createAll(newPullRequest);
if (pullRequestBitbucketSheet.getNextPageStart() != null) {
sheetJson = Utils.urlToJson(bitbucketProperty.getUrlPullRequestOpen() + pullRequestBitbucketSheet.getNextPageStart(), bitbucketProperty.getToken(), PullRequestSheetJson.class);
sheetJson = Utils.urlToJson(bitbucketProperty.getUrlPullRequestOpen() + pullRequestBitbucketSheet.getNextPageStart(), user.getToken(), PullRequestSheetJson.class);
} else {
break;
}