From 2ee15ffeda03eb2330737a0670a2cd987bcf95e9 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sun, 24 Sep 2017 08:05:47 +0100 Subject: [PATCH] minor error fix --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index d1cbbdd..3f6930c 100644 --- a/app.js +++ b/app.js @@ -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); }