chg: [crawlers] add endpoints to reset captures

dev
terrtia 2023-12-12 10:36:42 +01:00
parent e51ee7ab55
commit d376612d51
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def crawler_dashboard_json():
@crawler_splash.route("/crawlers/dashboard/captures/delete", methods=['GET'])
@login_required
@login_admin
def crawlers_dashboard():
def crawlers_dashboard_captures_delete():
crawlers.delete_captures()
return redirect(url_for('crawler_splash.crawlers_dashboard'))