Skip to content

Commit

Permalink
Removed the admin analytics route
Browse files Browse the repository at this point in the history
  • Loading branch information
RishiDiwanTT committed Nov 1, 2023
1 parent 064ff50 commit 98c537c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions api/admin/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,19 +484,6 @@ def metadata_service_self_tests(identifier):
)


@app.route("/admin/analytics_services", methods=["GET"])
@returns_json_or_response_or_problem_detail
@requires_admin
@requires_csrf_token
def analytics_services():
return ProblemDetail(
"http://librarysimplified.org/terms/problem/not-found-on-remote",
status_code=404,
title="Analytics has moved!",
detail="Analytics is no longer configurable via the Admin UI",
)


@app.route("/admin/search_services", methods=["GET", "POST"])
@returns_json_or_response_or_problem_detail
@requires_admin
Expand Down

0 comments on commit 98c537c

Please sign in to comment.