From 50a0ad3595588244c172226caff3d5f5c85a437d Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 20 Jun 2015 00:36:28 -0700 Subject: [PATCH] fix use gt not $gt closes #1022 --- server/boot/nonprofits.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/boot/nonprofits.js b/server/boot/nonprofits.js index 988ded5f84..1d16e76b74 100644 --- a/server/boot/nonprofits.js +++ b/server/boot/nonprofits.js @@ -9,7 +9,7 @@ module.exports = function(app) { function nonprofitsDirectory(req, res, next) { Nonprofit.find( - { where: { estimatedHours: { $gt: 0 } } }, + { where: { estimatedHours: { gt: 0 } } }, function(err, nonprofits) { if (err) { return next(err); }