fix gilding for message parent

This commit is contained in:
Akinwale Ariwodola 2017-09-24 08:56:34 +01:00
parent 3841d16105
commit e9579b3f4b

2
app.js
View file

@ -566,7 +566,7 @@ const sendGild = (sender, recipient, amount, gilddata, callback) => {
}, },
(res, fields, cb) => { (res, fields, cb) => {
// send the gild // send the gild
gildThing(gilddata.message.data.name, cb); gildThing(gilddata.message.data.parent_id, cb);
}, },
(success, cb) => { (success, cb) => {
// reply to the source message with message template after successful commit // reply to the source message with message template after successful commit