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:
parent
4c07028e40
commit
51653e6486
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ Provider.prototype.save = function (value, callback) {
|
||||||
//
|
//
|
||||||
|
|
||||||
if (store.save) {
|
if (store.save) {
|
||||||
return store.save(function (err, data) {
|
return store.save(value, function (err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return next(err);
|
return next(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue