Skip to content

Commit

Permalink
bugfix: Uncaught TypeError: scanDetail.address.city.replace is not a …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
freshlogic committed Apr 4, 2020
1 parent c514dd1 commit 43200c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion carriers/pitneyBowes.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function PitneyBowes(options) {
// Set address and location of each scan detail
data.scanDetailsList.forEach(scanDetail => {
scanDetail.address = {
city: scanDetail.eventCity,
city: scanDetail.eventCity.toString(),
country: scanDetail.country,
state: scanDetail.eventStateOrProvince,
zip: scanDetail.postalCode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"type": "git",
"url": "https://github.com/mediocre/bloodhound.git"
},
"version": "1.3.0"
"version": "1.3.1"
}

0 comments on commit 43200c7

Please sign in to comment.