This commit is contained in:
barisusakli
2014-08-30 14:44:43 -04:00
3 changed files with 21 additions and 20 deletions

View File

@@ -152,7 +152,7 @@ var async = require('async'),
if (!data || !Array.isArray(data.posts)) {
return callback(null, []);
}
data.posts = data.posts.filter(Boolean);
callback(null, data.posts);
});
});