We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given:
unsplash.photos.get({ photoId: 'foo/bar' });
Expected: request to /photos/foo%2Fbar Actual: request to /photos/foo/bar
/photos/foo%2Fbar
/photos/foo/bar
Note: some usages of getPathname rely on this behaviour:
getPathname
https://github.com/unsplash/unsplash-web/blob/330bb40640c3e1d3600ecc5a1b15a244013f0c5a/app/services/api/Photo/index.ts#L36C1-L37
The text was updated successfully, but these errors were encountered:
This most likely affects other endpoints, in addition to /photos.
/photos
Sorry, something went wrong.
No branches or pull requests
Given:
Expected: request to
/photos/foo%2Fbar
Actual: request to
/photos/foo/bar
Note: some usages of
getPathname
rely on this behaviour:https://github.com/unsplash/unsplash-web/blob/330bb40640c3e1d3600ecc5a1b15a244013f0c5a/app/services/api/Photo/index.ts#L36C1-L37
The text was updated successfully, but these errors were encountered: