aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js5
1 files changed, 4 insertions, 1 deletions
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) {