From 73a4afedf9199adf9fda410f370d32177a117ac2 Mon Sep 17 00:00:00 2001 From: gcase555 <53017355+gcase555@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:11:22 -0500 Subject: [PATCH] Update internal/scm/bitbucketcloud/bitbucket_cloud.go Co-authored-by: Johan Lindell --- internal/scm/bitbucketcloud/bitbucket_cloud.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/scm/bitbucketcloud/bitbucket_cloud.go b/internal/scm/bitbucketcloud/bitbucket_cloud.go index 1fa66f1f..ac0c1d55 100644 --- a/internal/scm/bitbucketcloud/bitbucket_cloud.go +++ b/internal/scm/bitbucketcloud/bitbucket_cloud.go @@ -93,7 +93,7 @@ func (bbc *BitbucketCloud) UpdatePullRequest(ctx context.Context, repo scm.Repos // Note the specs of the bitbucket client here, reviewers field must be UUID of the reviewers, not their usernames prOptions := &bitbucket.PullRequestsOptions{ ID: fmt.Sprintf("%d", bbcPR.number), - Owner: bbc.workspaces[0], + ID: fmt.Sprint(bbcPR.number), RepoSlug: repoSlug[4], Title: updatedPR.Title, Description: updatedPR.Body,