Skip to content

Commit

Permalink
chg: [crawlers] add endpoints to reset captures
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 12, 2023
1 parent e51ee7a commit d376612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/www/blueprints/crawler_splash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

Expand Down

0 comments on commit d376612

Please sign in to comment.