change == to ===
This commit is contained in:
parent
fffdebe5fc
commit
11be090aa3
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ exports.dispenseStatus = function dispenseStatus(session, cb) {
|
||||||
|
|
||||||
var pending = (results[0].rows.length === 1) &&
|
var pending = (results[0].rows.length === 1) &&
|
||||||
(results[1].rows.length === 1) &&
|
(results[1].rows.length === 1) &&
|
||||||
(results[1].rows[0].stage == 'deposit');
|
(results[1].rows[0].stage === 'deposit');
|
||||||
if (!pending) return cb(null, null);
|
if (!pending) return cb(null, null);
|
||||||
|
|
||||||
var requestedTx = results[0].rows[0];
|
var requestedTx = results[0].rows[0];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue