aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTylerSchroederWM <75996872+TylerSchroederWM@users.noreply.github.com>2021-02-01 11:57:54 -0500
committerGitHub <noreply@github.com>2021-02-01 11:57:54 -0500
commitf680936ae51a48dc7a5811e42c3804b890d4dc96 (patch)
tree117aa21c117ed2477c6c95f804d3593fc1c47ed9
parent220631c70478f2621b0736c93323035c17d503c8 (diff)
downloadssb-logbook-f680936ae51a48dc7a5811e42c3804b890d4dc96.tar.gz
ssb-logbook-f680936ae51a48dc7a5811e42c3804b890d4dc96.zip
patchfoo integration pt. 3
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 34ecf10..3d0f89f 100644
--- a/README.md
+++ b/README.md
@@ -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));
})
});