Skip to content

Commit 8efa13e

Browse files
ScottTrendacrobinson42
authored andcommitted
Fix params blacklist
1 parent d169d59 commit 8efa13e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,9 @@ Adapter.extend({
770770
const payload = config.data
771771
const cache = config.cache
772772
const timeout = config.timeout
773-
config = utils.copy(config, null, null, null, ['data', 'cache', 'timeout'])
773+
const params = config.params
774+
config = utils.copy(config, null, null, null, ['data', 'cache', 'timeout', 'params']) // params could have data, cache, timeout
775+
config.params = utils.copy(params)
774776
config = utils.deepMixIn(config, this.httpConfig)
775777
config.data = payload
776778
config.cache = cache

0 commit comments

Comments
 (0)