Skip to content

Fix /borrow?action=locate not working for logged out users#9846

Merged
cdrini merged 1 commit into
masterfrom
locate
Sep 5, 2024
Merged

Fix /borrow?action=locate not working for logged out users#9846
cdrini merged 1 commit into
masterfrom
locate

Conversation

@mekarpeles
Copy link
Copy Markdown
Member

@mekarpeles mekarpeles commented Sep 5, 2024

Closes #9829, followup to #9842

Technical

Before, the action=locate check took place after authentication check meaning it required patrons to be logged in before using this method. We want /borrow?action=locate to be public (not be blocked by auth)

Testing

Incognito: https://testing.openlibrary.org/books/OL7826547M/A_Game_of_Thrones/borrow?action=locate

Screenshot

Stakeholders

Copy link
Copy Markdown
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Not testing seems basic

@cdrini cdrini changed the title enable public action=locate Fix /borrow?action=locate not working for logged out users Sep 5, 2024
@cdrini cdrini merged commit 1caffdc into master Sep 5, 2024
@cdrini cdrini deleted the locate branch September 5, 2024 17:58
@cdrini cdrini self-assigned this Jan 20, 2025
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.

Add new "locate" option to /borrow API endpoint

2 participants