fix use gt not $gt

closes #1022
This commit is contained in:
Berkeley Martinez
2015-06-20 00:36:28 -07:00
parent 5a0d38eb5e
commit 50a0ad3595

View File

@ -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); }