Commit 645498917987c90e9eff8d55ea78de4f9827eeb3
Pass config in callback
cel committed on 10/28/2016, 8:44:20 PMParent: 7cdf64c3fb60317000a846eaf43fc6097b3e8187
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -94,8 +94,8 @@ | ||
94 | 94 … | if(err) return cb(explain(err, 'could not connect to sbot')) |
95 | 95 … | var sbot = muxrpc(manifest, false)() |
96 | 96 … | sbot.id = '@'+stream.remote.toString('base64')+'.ed25519' |
97 | 97 … | pull(stream, sbot.createStream(), stream) |
98 | - cb(null, sbot) | |
98 … | + cb(null, sbot, config) | |
99 | 99 … | }) |
100 | 100 … | } |
101 | 101 … |
Built with git-ssb-web