Skip to content

Commit

Permalink
Fix reference to old db/conf variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Jan 23, 2010
1 parent 41ac3b2 commit 5b9f31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Posts.prototype.sync = function() {
post.title = post.title || "No Title: " + p;

// save the post
db.update( conf.db.collection, { _id : post._id }, post, true );
this.db.update( this.collection, { _id : post._id }, post, true );

print( " updated", post._id );
}
Expand Down

0 comments on commit 5b9f31b

Please sign in to comment.