From 51653e64862ddf4757b099d43513d53ea07c5941 Mon Sep 17 00:00:00 2001 From: Rob Rodriguez Date: Mon, 20 Jan 2014 15:28:38 -0800 Subject: [PATCH] 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. --- lib/nconf/provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index 93200a3..1e32860 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -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); }