Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwilcox committed Jan 5, 2017
1 parent f947648 commit a21a0f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ const keyVaultConfig = {
clientSecret: process.env.AZUREAD_CLIENT_SECRET,
};
keyVaultResolver(keyVaultConfig).getObjectSecrets(config, (resolutionError, updatedConfig) => {
keyVaultResolver(keyVaultConfig).getObjectSecrets(config, (resolutionError) => {
if (resolutionError) {
throw resolutionError;
}
// at this point, updatedConfig values such as updatedConfig.storage.key now have the secrets
// at this point, config values such as config.storage.key now have the secrets
// ... continue your app work, or store in middleware
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ospo/keyvault-configuration-resolver",
"version": "0.9.3",
"version": "0.9.4",
"description": "Resolves custom keyvault:// URI values within an object graph using Azure KeyVault",
"main": "lib/index.js",
"engines": {
Expand Down

0 comments on commit a21a0f7

Please sign in to comment.