Skip to content

Commit

Permalink
Update service.js remove await
Browse files Browse the repository at this point in the history
  • Loading branch information
timisenco2015 authored Jul 17, 2023
1 parent 45d40f0 commit 12ff99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/forms/bcgeoaddress/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const service = {
let searchAddresses = await geoAddressService.addressQuerySearch(query);

if (searchAddresses?.features && Array.isArray(searchAddresses.features)) {
await searchAddresses.features.forEach((element) => {
searchAddresses.features.forEach((element) => {
if (element?.properties?.fullAddress) {
addresses.features.push({ geometry: { coordinates: element.geometry.coordinates }, properties: { fullAddress: element.properties.fullAddress } });
}
Expand Down

0 comments on commit 12ff99f

Please sign in to comment.