Skip to content

Commit

Permalink
LB-1719: Fix CORS error on Feedback endpoint (#3109)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshg1214 authored Jan 4, 2025
1 parent 69e1e79 commit fea985c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listenbrainz/webserver/views/feedback_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _get_feedback_for_recordings_for_user_helper(user_name, recording_msids, rec
})


@feedback_api_bp.post("/user/<user_name>/get-feedback-for-recordings")
@feedback_api_bp.route("/user/<user_name>/get-feedback-for-recordings", methods=["POST", "OPTIONS"])
@crossdomain
@ratelimit()
def get_feedback_for_recordings_for_user_post(user_name):
Expand Down

0 comments on commit fea985c

Please sign in to comment.