From 2dd42bf737ccc227945b8ad33e379f556fff31b0 Mon Sep 17 00:00:00 2001 From: terrtia Date: Mon, 24 Jun 2024 14:54:09 +0200 Subject: [PATCH] fix: [cookiejar] fix add cookie cookiejar uuid --- var/www/blueprints/crawler_splash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/www/blueprints/crawler_splash.py b/var/www/blueprints/crawler_splash.py index 15785ebb..25bcce26 100644 --- a/var/www/blueprints/crawler_splash.py +++ b/var/www/blueprints/crawler_splash.py @@ -811,7 +811,7 @@ def crawler_cookiejar_cookie_edit_post(): @login_required @login_read_only def crawler_cookiejar_cookie_add(): - cookiejar_uuid = request.args.get('cookiejar_uuid') + cookiejar_uuid = request.args.get('uuid') return render_template("add_cookie.html", cookiejar_uuid=cookiejar_uuid) @@ -842,7 +842,7 @@ def crawler_cookiejar_cookie_manual_add_post(): if res[1] != 200: return create_json_response(res[0], res[1]) - return redirect(url_for('crawler_splash.crawler_cookiejar_show', cookiejar_uuid=cookiejar_uuid)) + return redirect(url_for('crawler_splash.crawler_cookiejar_show', uuid=cookiejar_uuid)) @crawler_splash.route('/crawler/cookiejar/cookie/json_add_post', methods=['POST'])