Skip to content

Commit

Permalink
Passing the value parameter to the providers
Browse files Browse the repository at this point in the history
The nconf-redis provider needs the value for some reason, if its absent
this call will fail. It should be there anyway.
  • Loading branch information
Rob Rodriguez authored and indexzero committed Sep 20, 2015
1 parent 4c07028 commit 51653e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nconf/provider.js
Expand Up @@ -462,7 +462,7 @@ Provider.prototype.save = function (value, callback) {
//

if (store.save) {
return store.save(function (err, data) {
return store.save(value, function (err, data) {
if (err) {
return next(err);
}
Expand Down

0 comments on commit 51653e6

Please sign in to comment.