Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed typo: atfer -> after #25

Merged
merged 1 commit into from

2 participants

@timoxley

as above

@txus
Collaborator

Thanks!

@txus txus merged commit cbbd8ea into masylum:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2012
  1. @timoxley

    Fixed typo: atfer -> after

    timoxley authored
This page is out of date. Refresh to see the latest.
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
});
Something went wrong with that request. Please try again.