Munif Tanjim

Results 164 comments of Munif Tanjim

Before this can be implemented, it'll need some architectural changes to the codebase. With the current architecture, I don't think it's possible.

@adelkahomolova Thanks for the PR! But it'll be a bit more complicated to implement it. Your implementation will work, of course. But this library uses the [official specification file](https://api.bitbucket.org/swagger.json). And...

> can I ask you how it is possible to propose an update in this official specification file? I've tried to contact them in the past. But it didn't work....

Sorry for the confusion. I tried to add support for `oauth` at the beginning. But never actually got around to make it work. That's why it's not mentioned in the...

`repositories.listPermissions` is correctly sending request to the `https://api.bitbucket.org/2.0/user/permissions/repositories` url. Your finding might be caused by your authentication method. Since you haven't mentioned details about your testing, I can't say anything...

See the discussion on #44 to know about why this isn't properly supported. _(**TLDR**: Bitbucket's API Specification: https://api.bitbucket.org/swagger.json is incorrect)_ With that said, here's a dirty hack that you can...

Are you using this from browser? Maybe Bitbucket doesn't allow cross-origin requests anymore 🤷‍♂️ I just ran your code here: https://npm.runkit.com/bitbucket and it worked alright.

Can you show me a minimal project with this bug? I can use it without any problem here: https://codesandbox.io/s/bitbucket-with-cra-c5rk2

Strange :thinking: I was working yesterday when I created that sandbox. Now it's not working anymore!

![image](https://user-images.githubusercontent.com/8050659/82234029-a56d6780-9952-11ea-93a7-4feb9bad0d8f.png) Now it's working again!