-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): ensure that endpoint path is versioned
Bitly API deprecated endpoint paths without specific API version (e.g., `https://api-ssl.bitly.com/shorten`). By mistake, the API client used to make such requests and got 410 (GONE) responses back. This commit fixes this issue by correctly constructing an API endpoint URL which includes the API version (e.g, `https://api-ssl.bitly.com/v4/shorten`).
- Loading branch information
Showing
1 changed file
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters