Skip to content

Commit

Permalink
Fixed issue where query data would not properly copy if variable equa…
Browse files Browse the repository at this point in the history
…tes to false (#115)
  • Loading branch information
weswinder committed Sep 18, 2020
1 parent 5e1440f commit b389027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ class Service extends AdapterService {
const findParams = Object.assign({}, params, { query: Object.assign({}, params.query, this.getIdsQuery(id, idList), selectParam) });

for (const key of Object.keys(dataCopy)) {
if (findParams.query[key]) {
if (key in findParams.query) {
findParams.query[key] = dataCopy[key];
}
}
Expand Down

0 comments on commit b389027

Please sign in to comment.