mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	additional functionality, integration, and testing for #6455
This commit is contained in:
		| @@ -34,7 +34,10 @@ module.exports = function (Posts) { | ||||
| 			async.parallel([ | ||||
| 				async.apply(Posts.uploads.associate, pid, add), | ||||
| 				async.apply(Posts.uploads.dissociate, pid, remove), | ||||
| 			], callback); | ||||
| 			], function (err) { | ||||
| 				// Strictly return only err | ||||
| 				callback(err); | ||||
| 			}); | ||||
| 		}); | ||||
| 	}; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user