mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	ESlint array-bracket-spacing
and object-property-newline
This commit is contained in:
		| @@ -56,7 +56,15 @@ module.exports = function (db, module) { | ||||
| 					$project: { | ||||
| 						value: 1, | ||||
| 						score: { | ||||
| 							$cond: { if: { $eq: [ "$_key", sets[index] ] }, then: { $multiply: [ '$score', weight ] }, else: '$score' }, | ||||
| 							$cond: { | ||||
| 								if: { | ||||
| 									$eq: ["$_key", sets[index]], | ||||
| 								}, | ||||
| 								then: { | ||||
| 									$multiply: ['$score', weight], | ||||
| 								}, | ||||
| 								else: '$score', | ||||
| 							}, | ||||
| 						}, | ||||
| 					}, | ||||
| 				}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user