diff options
author | TylerSchroederWM <75996872+TylerSchroederWM@users.noreply.github.com> | 2021-02-01 11:57:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 11:57:54 -0500 |
commit | f680936ae51a48dc7a5811e42c3804b890d4dc96 (patch) | |
tree | 117aa21c117ed2477c6c95f804d3593fc1c47ed9 | |
parent | 220631c70478f2621b0736c93323035c17d503c8 (diff) | |
download | ssb-logbook-f680936ae51a48dc7a5811e42c3804b890d4dc96.tar.gz ssb-logbook-f680936ae51a48dc7a5811e42c3804b890d4dc96.zip |
patchfoo integration pt. 3
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,8 @@ const channels = require("./channels-lib"); clientFactory(function(err, client) { if(err) throw err; - channel.getMessages(client, "logbook", function(messageStream) { - pull(messageStream, pull.drain(function(msg) { + channel.getMessages(client, "logbook", null, function(messageStream) { + pull(messageStream, pull.drain(function(msg, _) { console.log(JSON.stringify(msg)); }) }); |