Closed diasjorge closed 5 years ago
When you try to create a client to connect to:
github.enterprisecompany.com/api/v3 because of the way the urls are generated it makes requests to github.enterprisecompany.com/orgs and omits the prefix.
I found the problem here: https://github.com/jingweno/go-sawyer/blob/master/sawyer.go#L51
I guess this happens since it tries to create an absolute url.
Closed due to lack of comments
When you try to create a client to connect to:
github.enterprisecompany.com/api/v3 because of the way the urls are generated it makes requests to github.enterprisecompany.com/orgs and omits the prefix.
I found the problem here: https://github.com/jingweno/go-sawyer/blob/master/sawyer.go#L51
I guess this happens since it tries to create an absolute url.