Open mokkabonna opened 7 years ago
I use
octo.fromUrl('http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}', { sha: 'heads/master' })
But get an error saying sha can't contain slashes. But how else am I going to create the url http://api.github.com/repos/octocat/Hello-World/git/refs/heads/master ?
Now I have to manually create the url to get around this.
I use
But get an error saying sha can't contain slashes. But how else am I going to create the url http://api.github.com/repos/octocat/Hello-World/git/refs/heads/master ?
Now I have to manually create the url to get around this.