Skip to content

Commit

Permalink
Accept POST requests to the /patrons/me/token endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Sep 18, 2023
1 parent 358caaa commit dc39eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def delete_patron_devices():
return app.manager.patron_devices.delete_patron_device()


@library_dir_route("/patrons/me/token", methods=["GET"])
@library_dir_route("/patrons/me/token", methods=["POST"])
@api_spec.validate(resp=SpecResponse(HTTP_200=PatronAuthAccessToken), tags=["patron"])
@has_library
@requires_auth
Expand Down

0 comments on commit dc39eb5

Please sign in to comment.