From f680936ae51a48dc7a5811e42c3804b890d4dc96 Mon Sep 17 00:00:00 2001 From: TylerSchroederWM <75996872+TylerSchroederWM@users.noreply.github.com> Date: Mon, 1 Feb 2021 11:57:54 -0500 Subject: patchfoo integration pt. 3 --- README.md | 4 ++-- 1 file 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)); }) }); -- cgit v1.2.3