Skip to content

Commit

Permalink
Fix nonprofit model is called nonprofit
Browse files Browse the repository at this point in the history
  • Loading branch information
Berkeley Martinez authored and Berkeley Martinez committed Oct 22, 2015
1 parent 321040f commit 61715da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seed/nonprofits.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require('dotenv').load();
var Rx = require('rx');
var app = require('../server/server');

var Nonprofits = app.models.Challenge;
var Nonprofits = app.models.Nonprofit;
var nonprofits = require('./nonprofits.json');
var destroy = Rx.Observable.fromNodeCallback(Nonprofits.destroyAll, Nonprofits);
var create = Rx.Observable.fromNodeCallback(Nonprofits.create, Nonprofits);
Expand Down

0 comments on commit 61715da

Please sign in to comment.