Skip to content

Commit

Permalink
Should be POST
Browse files Browse the repository at this point in the history
  • Loading branch information
vladsavelyev committed Feb 22, 2024
1 parent 3d00858 commit 10739f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ async def update_downloads_endpoint(background_tasks: BackgroundTasks):
msg = f"Failed to update the download stats: {e}"
raise HTTPException(status_code=http.HTTPStatus.INTERNAL_SERVER_ERROR, detail=msg)

@app.get("/remove_visits_csv")
@app.post("/remove_visits_csv")
async def remove_visits_csv():
try:
if CSV_FILE_PATH.exists():
Expand Down

0 comments on commit 10739f0

Please sign in to comment.