Merge pull request #3647 from O5ten/patch-2

Fix missing baseUrl in graphql client for GHE
This commit is contained in:
Fredrik Adelöw
2020-12-10 13:28:17 +01:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
@@ -64,6 +64,7 @@ export class GithubOrgReaderProcessor implements CatalogProcessor {
const client = !provider.token
? graphql
: graphql.defaults({
baseUrl: provider.apiBaseUrl,
headers: {
authorization: `token ${provider.token}`,
},