Skip to content

Commit

Permalink
Update addon/components/labs-bbl-lookup.js to fix block lookup bug
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Gardner <[email protected]>
  • Loading branch information
TylerMatteo and allthesignals committed Oct 11, 2023
1 parent 6c9aa34 commit ee3f040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/labs-bbl-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default Component.extend({
const SQL = `SELECT the_geom FROM dof_dtm_block_centroids WHERE block= ${parseInt(
block,
10
)} AND borocode = '${code}'`;
)} AND boro = '${code}'`;
carto.SQL(SQL, 'geojson').then((response) => {
if (response.features[0]) {
this.set('errorMessage', '');
Expand Down

0 comments on commit ee3f040

Please sign in to comment.