From 69334ca8e3b5d4e5be77920972dffa6274b19a10 Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Wed, 28 Apr 2021 22:00:58 +0200 Subject: [PATCH] tips --- services/gunDB/contact-api/jobs/onOrders.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/jobs/onOrders.js b/services/gunDB/contact-api/jobs/onOrders.js index 2a8de103..422eac32 100644 --- a/services/gunDB/contact-api/jobs/onOrders.js +++ b/services/gunDB/contact-api/jobs/onOrders.js @@ -277,9 +277,10 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => { break //create the coordinate, but stop because of the invalid id } getUser() - .get('postToTipCount') + .get(Key.POSTS_NEW) .get(postID) - .set(null) // each item in the set is a tip + .get('tipsSet') + .set(amt) // each item in the set is a tip TipForwarder.notifySocketIfAny( postID,