Skip to content

Gets the adoptionUrl or uses the org url if adoptionUrl is not populated or invalid.#61

Open
dherbst wants to merge 1 commit intocodeforboston:masterfrom
dherbst:fix_location_query
Open

Gets the adoptionUrl or uses the org url if adoptionUrl is not populated or invalid.#61
dherbst wants to merge 1 commit intocodeforboston:masterfrom
dherbst:fix_location_query

Conversation

@dherbst
Copy link
Collaborator

@dherbst dherbst commented Mar 24, 2026

If we add orgs when calling include=orgs,breeds,locations we will get the organizations the pet is associated with. If they have an adoptionUrl we can use that. However, a lot of them are not populated or incomplete, like just the string http://. So if it is invalid, then use the org url, and add it into the Bluesky post.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant