@ -9,7 +9,7 @@ module.exports = function(app) {
|
|||||||
|
|
||||||
function nonprofitsDirectory(req, res, next) {
|
function nonprofitsDirectory(req, res, next) {
|
||||||
Nonprofit.find(
|
Nonprofit.find(
|
||||||
{ where: { estimatedHours: { $gt: 0 } } },
|
{ where: { estimatedHours: { gt: 0 } } },
|
||||||
function(err, nonprofits) {
|
function(err, nonprofits) {
|
||||||
if (err) { return next(err); }
|
if (err) { return next(err); }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user