diff --git a/server/forum/index.js b/server/forum/index.js index 2a64ee85..af3dc842 100644 --- a/server/forum/index.js +++ b/server/forum/index.js @@ -6,7 +6,7 @@ module.exports = function (params, next) { }; -nodeca.filters.before('@', 100, function (params, next) { +nodeca.filters.before('@', function (params, next) { var data = this.response.data; nodeca.models.forum.section.find({}, function (err, sections) { diff --git a/server/forum/section/show.js b/server/forum/section/show.js index 4499b047..8fac6d9a 100644 --- a/server/forum/section/show.js +++ b/server/forum/section/show.js @@ -6,7 +6,7 @@ module.exports = function (params, next) { }; -nodeca.filters.before('@', 100, function (params, next) { +nodeca.filters.before('@', function (params, next) { var data = this.response.data; nodeca.models.forum.section.findOne({id: params.id}, function (err, section) { @@ -15,7 +15,7 @@ nodeca.filters.before('@', 100, function (params, next) { }); }); -nodeca.filters.before('@', 100, function (params, next) { +nodeca.filters.before('@', function (params, next) { var data = this.response.data; nodeca.models.forum.thread.find({forum_id: params.id}, function (err, threads) { diff --git a/server/forum/thread/show.js b/server/forum/thread/show.js index 52644340..70ba4710 100644 --- a/server/forum/thread/show.js +++ b/server/forum/thread/show.js @@ -6,7 +6,7 @@ module.exports = function (params, next) { }; -nodeca.filters.before('@', 100, function (params, next) { +nodeca.filters.before('@', function (params, next) { var data = this.response.data; nodeca.models.forum.thread.findOne({id: params.id}, function (err, thread) { @@ -16,7 +16,7 @@ nodeca.filters.before('@', 100, function (params, next) { }); -nodeca.filters.before('@', 100, function (params, next) { +nodeca.filters.before('@', function (params, next) { var data = this.response.data; nodeca.models.forum.post.find({thread: data.thread._id}, function (err, posts) {