Passing the value parameter to the providers

The nconf-redis provider needs the value for some reason, if its absent
this call will fail. It should be there anyway.
This commit is contained in:
Rob Rodriguez 2014-01-20 15:28:38 -08:00 committed by indexzero
parent 4c07028e40
commit 51653e6486

View file

@ -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);
}