Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
made tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed Nov 25, 2012
1 parent dd3cd6c commit c326b0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions remoteStorage-redisStore.js
Expand Up @@ -36,8 +36,9 @@ RedisStore.prototype = {
set: function(path, node) {
var promise = this.getPromise();
redis.set(this.path(path), node, this.bind(function(err) {
if (err) console.log('SET Error:', err);
this.emit('change', {path: 'path/', oldValue: 'oldValue'});
if (err) console.log('SET Error:', err, res);
console.log(res)
this.emit('change', {path: path, oldValue: 'bla'});
promise.fulfillLater();
}));
return promise;
Expand Down

0 comments on commit c326b0a

Please sign in to comment.