mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
This commit is contained in:
parent
2893fe7126
commit
1268ef63df
@ -248,7 +248,10 @@ const analyzeFetcher = (url, headers, analyzeApiChange) => {
|
||||
totalHeaders.forEach(t => {
|
||||
// If header has x-hasura-*
|
||||
const lHead = t.toLowerCase();
|
||||
if (lHead.slice(0, 'x-hasura-'.length) === 'x-hasura-') {
|
||||
if (
|
||||
lHead.slice(0, 'x-hasura-'.length) === 'x-hasura-' &&
|
||||
lHead !== 'x-hasura-access-key'
|
||||
) {
|
||||
user[lHead] = reqHeaders[t];
|
||||
delete reqHeaders[t];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user