From b84197b91fdfcc86baab903d0ad393cbe5fbb3b2 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 29 May 2017 06:27:26 -1000 Subject: Fix addBlob --- lib/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/app.js b/lib/app.js index 8ef859f..825bd91 100644 --- a/lib/app.js +++ b/lib/app.js @@ -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) { -- cgit v1.2.3