Skip to content

Commit 8fb5828

Browse files
committed
updated order of passthrough assignment in dao-cache
1 parent 4cc1410 commit 8fb5828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/dao-cache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,10 +1607,10 @@ class Cache {
16071607
];
16081608

16091609
// combine the standard headers with the headers specified for endpoint in custom/policies.json
1610-
let passThrough = [].concat(this.#headersToRetain, defaultHeadersToRetain);
1610+
let ptHeaders = [].concat(this.#headersToRetain, defaultHeadersToRetain);
16111611

16121612
// lowercase the headers we are looking for
1613-
passThrough = passThrough.map(element => {
1613+
let passThrough = ptHeaders.map(element => {
16141614
return element.toLowerCase();
16151615
});
16161616

0 commit comments

Comments
 (0)