Skip to content

Commit

Permalink
temp disable 1001 check
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent a7a50c2 commit db41420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ async def osu_direct(
page_num: int = Query(..., alias="p"),
) -> Response:
search_url = f"{config.DIRECT_URL}/search"
if user.id == 1001:
search_url = "http://beatmaps-service-api-production.default.svc.cluster.local/api/search"
# if user.id == 1001:
# search_url = "http://beatmaps-service-api-production.default.svc.cluster.local/api/search"

params: dict[str, Any] = {"amount": 100, "offset": page_num}

Expand Down

0 comments on commit db41420

Please sign in to comment.