Closed
Description
When using .contents
with a specific branch name it always retrieves that master branch content.
The problem here is that ref should be a request parameter, for example:
https://api.github.com/repos/:owner/:repo/contents/:path?ref=branch-nane
In the code ref is an object and used as xhr.send(JSON.stringify(data))
- which doesn't work.