From e9579b3f4b8305c2e435cc83045cc7ee9c8ac3d2 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sun, 24 Sep 2017 08:56:34 +0100 Subject: [PATCH] fix gilding for message parent --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index b5a79a2..4e10bb7 100644 --- a/app.js +++ b/app.js @@ -566,7 +566,7 @@ const sendGild = (sender, recipient, amount, gilddata, callback) => { }, (res, fields, cb) => { // send the gild - gildThing(gilddata.message.data.name, cb); + gildThing(gilddata.message.data.parent_id, cb); }, (success, cb) => { // reply to the source message with message template after successful commit