From 3b663f81369121842294db8ac81c305e14f528ac Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 15 Feb 2020 14:28:17 -0400 Subject: [PATCH] log --- services/gunDB/contact-api/streams/pubToFeed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/gunDB/contact-api/streams/pubToFeed.js b/services/gunDB/contact-api/streams/pubToFeed.js index 7c06c080..e03bb1ae 100644 --- a/services/gunDB/contact-api/streams/pubToFeed.js +++ b/services/gunDB/contact-api/streams/pubToFeed.js @@ -28,6 +28,10 @@ let pubToFeed = {} const getPubToFeed = () => pubToFeed +feedsListeners.add(() => { + console.log(`new pubToFeed: ${getPubToFeed()}`) +}) + /** @param {Feeds} ptf */ const setPubToFeed = ptf => { pubToFeed = ptf