Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit e80d83d

Browse files
authored
fix(vault): fix requestOptions for vault namespace support (#410)
1 parent bfb5ed2 commit e80d83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const vaultOptions = {
6666
// Include the Vault Namespace header if we have provided it as an env var.
6767
// See: https://github.com/kr1sp1n/node-vault/pull/137#issuecomment-585309687
6868
if (envConfig.vaultNamespace) {
69-
vaultOptions.headers = {
69+
vaultOptions.requestOptions.headers = {
7070
'X-VAULT-NAMESPACE': envConfig.vaultNamespace
7171
}
7272
}

0 commit comments

Comments
 (0)