Lint
This commit is contained in:
parent
6a8d55a00c
commit
b54b2a7121
|
@ -108,7 +108,10 @@ export abstract class TestAPI {
|
||||||
}
|
}
|
||||||
|
|
||||||
const headersFn = publicUser
|
const headersFn = publicUser
|
||||||
? this.config.publicHeaders.bind(this.config)
|
? (_extras = {}) =>
|
||||||
|
this.config.publicHeaders.bind(this.config)({
|
||||||
|
prodApp: opts?.useProdApp,
|
||||||
|
})
|
||||||
: (extras = {}) =>
|
: (extras = {}) =>
|
||||||
this.config.defaultHeaders.bind(this.config)(extras, opts?.useProdApp)
|
this.config.defaultHeaders.bind(this.config)(extras, opts?.useProdApp)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue