Skip to content

Commit

Permalink
fix: revert last, not issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodarko committed Jun 24, 2021
1 parent b0ec67c commit 636ac1a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/query_results.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ module.exports = class QueryResult {
update(queryResult) {
debug(`Updating query results now!`);
queryResult.map((record) => {
if (record && record !== undefined) {
this.results.push({
node_bindings: this._createNodeBindings(record),
edge_bindings: this._createEdgeBindings(record),
//default score issue #200 - TODO: turn to evaluating module eventually
score: '1.0',
});
}
this.results.push({
node_bindings: this._createNodeBindings(record),
edge_bindings: this._createEdgeBindings(record),
//default score issue #200 - TODO: turn to evaluating module eventually
score: '1.0',
});
});
}
};

0 comments on commit 636ac1a

Please sign in to comment.