diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-29 06:27:26 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-29 06:27:26 -1000 |
commit | b84197b91fdfcc86baab903d0ad393cbe5fbb3b2 (patch) | |
tree | 9fc6b10163e22af2de646b037d7d72684a965454 | |
parent | b66bcecec258b0a2631ec338501afa9409882fe8 (diff) | |
download | patchfoo-b84197b91fdfcc86baab903d0ad393cbe5fbb3b2.tar.gz patchfoo-b84197b91fdfcc86baab903d0ad393cbe5fbb3b2.zip |
Fix addBlob
-rw-r--r-- | lib/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -177,7 +177,10 @@ App.prototype.addBlob = function (cb) { done(function (err, hash, add) { cb(err, hash) }) - return sink + return pull( + hasher(hashCb), + this.sbot.blobs.add(addCb) + ) } App.prototype.pushBlob = function (id, cb) { |