mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: tests
This commit is contained in:
@@ -296,7 +296,7 @@ module.exports = function (module) {
|
||||
seen[value] = 1;
|
||||
|
||||
if (params.withScores) {
|
||||
returnData.push({ value: value, score: parseFloat(data[i + 2]) });
|
||||
returnData.push({ value: value, score: parseFloat(data[i + 1]) });
|
||||
} else {
|
||||
returnData.push(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user