Skip to content

Commit

Permalink
add comments so we dont forget wtf we just did...
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-carnahan committed Mar 18, 2021
1 parent 5d7ad9c commit b5c784b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/providerController.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ exports.provider_search = async function(req, res) {
continue;
}
if(param == "vaccine_available") {
filter[param] = Boolean(req.query[param]);
continue;
filter[param] = Boolean(req.query[param]); // $geoNear query param wont coerce types in search so we have to do it manually?
continue; // weird bc it totally works in the reg filter query
}
filter[param] = req.query[param];
}
Expand Down

0 comments on commit b5c784b

Please sign in to comment.