This branch adapts an existing method designed for "fixing" links we get from Overdrive to handle a new case: a case where Overdrive gives us a link to v1 of the availability API, and we need v2. Continuing to use the v1 link causes https://jira.nypl.org/browse/SIMPLY-3370.
This branch adapts an existing method designed for "fixing" links we get from Overdrive to handle a new case: a case where Overdrive gives us a link to v1 of the availability API, and we need v2. Continuing to use the v1 link causes https://jira.nypl.org/browse/SIMPLY-3370.
The corresponding circulation branch calls
make_link_safe
on the actual link that turns out to be a v1 link.