diff --git a/app/data/allocations-dao.js b/app/data/allocations-dao.js index 24d4718c4..01cfefe65 100644 --- a/app/data/allocations-dao.js +++ b/app/data/allocations-dao.js @@ -48,9 +48,9 @@ const AllocationsDAO = function(db){ return callback(null, allocations); }); + } else { + return callback(err, null); } - - return callback(err, null); }); };