Closed chrisbuttery closed 6 years ago
Interesting, I didn't face those issues when using public or private endpoints. It may be something related to the new GraphCMS beta? Or I'm wondering if it's something platform specific? What OS / version are you on?
In any case, code looks fine. I'll do some testing tonight get it merged.
@Redmega These points have been addressed. Let me know if you require anything else. 👍
Deployed as v1.0.0-alpha.3
!
:tada: This PR is included in version 0.1.0-next.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR refactors how headers are created.
I found the existing method cause Authorization errors regardless if the dashboard URL was public, or was protected and a token was provided.
This proposed change only includes headers keys if their values are provided.