Skip to content

Commit 63ee153

Browse files
Merge pull request #60 from dherbst/fix-location
Fixes the double-encoding problem with postalcode.
2 parents 1e4003f + dbe120a commit 63ee153

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

adoption_sources/rescue_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ def fetch_pets(self) -> Iterator[AdoptablePet]:
7474
"Content-Type": "application/vnd.api+json",
7575
"Authorization": self._api_key,
7676
}
77-
payload = json.dumps({
77+
payload = {
7878
"data": {
7979
"filterRadius": {
8080
"miles": self.radius_miles,
8181
"postalcode": self.postal_code,
8282
}
8383
}
84-
})
84+
}
8585

8686

8787
logger.info(

0 commit comments

Comments
 (0)