hasura / graphql-bench

A super simple tool to benchmark GraphQL queries
Apache License 2.0
265 stars 41 forks source link

Authorization tokens not being encoded properly #47

Open btodorce opened 3 years ago

btodorce commented 3 years ago

create a query config file, which includes the authorization header headers: X-Hasura-Admin-Secret: SomeSecret authorization: Bearer SomeJWT

The authorization is being encoded incorrectly image

GavinRay97 commented 3 years ago

That is what is expected, you asked for this aye?

headers:
  X-Hasura-Admin-Secret: SomeSecret
  authorization: Bearer SomeJWT

That is the correct decoding of that object to JS, can you elaborate further on the issue?