-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Delete Comments Endpoint passes Username in the place of Workspace #1
Comments
I started out with the I interpret it as if it is mixing What is the full URL giving you 404? |
You are probably right about this! I'm changing it now. |
This is now changed and released! Open issue again if not working. |
It looks like the endpoint being hit by the DeleteComments call is not hitting the workspace (404 is returned). Looking at the BitBucket Cloud v2 api, the delete comment endpoint is here: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pullrequests/%7Bpull_request_id%7D/comments/%7Bcomment_id%7D#delete
In that it says the endpoint is
/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
However, in this project's code it is declared (as used) as the following:
Note that username is being passed in the place of the workspace.
The text was updated successfully, but these errors were encountered: