mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	forgot to return just posts array
This commit is contained in:
		| @@ -344,7 +344,9 @@ var async = require('async'), | ||||
| 						next(null, post); | ||||
| 					}); | ||||
| 				}, function(err, posts) { | ||||
| 					plugins.fireHook('filter:post.getPostSummaryByPids', {posts: posts, uid: uid}, callback); | ||||
| 					plugins.fireHook('filter:post.getPostSummaryByPids', {posts: posts, uid: uid}, function(err, postData) { | ||||
| 						callback(err, postData.posts); | ||||
| 					}); | ||||
| 				}); | ||||
| 			}); | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user