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