Skip to content
Browse files

Fixed typo: atfer -> after

  • Loading branch information...
1 parent 20a3ca8 commit b43d76a6949073d1a5404635b2fd0dd293f0a491 @timoxley timoxley committed Jun 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -179,7 +179,7 @@ COMMENT.beforeInsert = function (documents, callback) {
callback(null, documents);
};
-COMMENT.atferInsert = function (documents, callback) {
+COMMENT.afterInsert = function (documents, callback) {
documents.forEach(function (doc) {
Post(db).mongo('update', {_id: doc.post._id}, {'$inc': {num_posts: 1}}); // fire and forget
});

0 comments on commit b43d76a

Please sign in to comment.
Something went wrong with that request. Please try again.