createLinearGraphQL
createLinearGraphQL(
config):LinearGraphQL
Defined in: graphql/graphql.ts:34
Linear answers a failed query with HTTP 200 (or 400) and an errors array, so this wrapper turns that into the same
ProviderApiError the REST clients throw. Linear sends a personal key as the bare Authorization value and an
OAuth token as Bearer <token>.