From bfbe2922a5cb6a4d37f3ea38631c698efe4c5fa7 Mon Sep 17 00:00:00 2001 From: ameba23 Date: Tue, 16 Apr 2019 13:04:48 +0200 Subject: [PATCH] forward.async.publish now takes an object --- views/forward/new.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/forward/new.js b/views/forward/new.js index 7d2c4bb..a9b5d45 100644 --- a/views/forward/new.js +++ b/views/forward/new.js @@ -96,7 +96,7 @@ module.exports = function DarkCrystalForwardNew (opts) { pull( pull.values(shards), pull.map(shard => shard.root), - pull.asyncMap((root, cb) => scuttle.forward.async.publish(root, feedId, cb)), + pull.asyncMap((root, cb) => scuttle.forward.async.publish({ root, recp: feedId }, cb)), pull.collect((err, forwards) => { // TODO handle this better if (err) return console.err(err)