Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing issue where current user is a default reviewer #4

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

gcase555
Copy link
Collaborator

@gcase555 gcase555 commented Jun 21, 2024

There is a bug where if your current user is part of the default reviewers bitbucket returns a 400, this makes sense since you can't be a reviewer on your own PR.

In this case we want to exclude a reviewer if it is the same as the current user who is creating the PR.

@ngandhi64 ngandhi64 requested a review from fynder June 21, 2024 15:56
@gcase555 gcase555 merged commit 5046599 into master Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants