minor error fix

This commit is contained in:
Akinwale Ariwodola 2017-09-24 08:05:47 +01:00
parent 49e043b0ce
commit 2ee15ffeda

2
app.js
View file

@ -611,7 +611,7 @@ const doGild = function(message, callback) {
return cb(null, null);
},
(data, cb) => {
if (gilddata) {
if (data) {
return sendGild(data.sender, data.recipient, data.amountLbc, data, cb);
}