fix(tracker-axios): resp header name-value flip
This commit is contained in:
parent
f5820fc7d6
commit
6f58968e21
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export default function(opts: Partial<Options> = {}) {
|
|||
|
||||
// TODO: type safe axios headers
|
||||
if (typeof res.headers === 'object') {
|
||||
Object.entries(res.headers as Record<string, string>).forEach(([v, n]) => { if (!isHIgnoring(n)) resHs[n] = v })
|
||||
Object.entries(res.headers as Record<string, string>).forEach(([n, v]) => { if (!isHIgnoring(n)) resHs[n] = v })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue