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

Fix setting the status URL for bitbucket #589

Merged
merged 1 commit into from
May 6, 2018
Merged

Fix setting the status URL for bitbucket #589

merged 1 commit into from
May 6, 2018

Conversation

orta
Copy link
Member

@orta orta commented May 6, 2018

Fixes #588

@orta orta merged commit 438c71b into master May 6, 2018
@orta orta deleted the bb branch May 6, 2018 18:03
const prURL = this.api.getPRBasePath()
return issue && issue.id && `${prURL}/diff#comment-${issue.id}`
return issue && issue.id && `${host}${prURL}/diff#comment-${issue.id}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prURL here is the API URL (rest/api/1.0/...) which will link to the JSON blob of the diff, rather than the web UI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aww, well, at least it's not crashing - I had no way to test 💯

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.

2 participants