Skip to content

Commit

Permalink
chore(AbstractApiResource): Correction of "isArray" value calcul
Browse files Browse the repository at this point in the history
  • Loading branch information
darkanakin41 committed Nov 6, 2020
1 parent ac8f2c4 commit 24828dc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/lib/resource/AbstractApiResource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lib/resource/AbstractApiResource.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/typescript-api-platform.es5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/typescript-api-platform.es5.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/typescript-api-platform.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/typescript-api-platform.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/resource/AbstractApiResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default abstract class AbstractApiResource<ResponseType, InputType = Part
searchArray = search.query
}
searchArray.forEach((item: (string | number | boolean)) => {
params.push(this.buildSearch(search.field, item, search.type, searchArray.length > 0))
params.push(this.buildSearch(search.field, item, search.type, (searchArray.length > 1)))
})
}
}
Expand Down

0 comments on commit 24828dc

Please sign in to comment.