Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Jun 19, 2020
1 parent f63fcfa commit 352ec8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/PatientSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export default class PatientSearch

// Custom params ---------------------------------------------------
Object.keys(this.params).forEach(k => {
if(this.params[k].trim()) {
if (String(this.params[k]).trim()) {
params.push({
name : k,
value: this.params[k]
Expand Down Expand Up @@ -725,7 +725,7 @@ export default class PatientSearch
* the IDs to only contain those that have all the conditions specified
* by the user.
* @param {Object} response The JSON Conditions bundle response
* @returns {Promise<String[]>} Array of patient ID strings (can be empty)
* @returns {Promise<any>} Array of patient ID strings (can be empty)
*/
const handleConditionsResponse = response => {

Expand Down

0 comments on commit 352ec8b

Please sign in to comment.