From 3d073e8e555440a0c79b1532bcbec1c5a2393013 Mon Sep 17 00:00:00 2001 From: JB Date: Sat, 29 Nov 2025 12:09:06 -0800 Subject: [PATCH] fix: Rename redirect key to redirect_url in api_calibre_opds_import response --- abogen/web/routes/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abogen/web/routes/api.py b/abogen/web/routes/api.py index 87b7669..a954030 100644 --- a/abogen/web/routes/api.py +++ b/abogen/web/routes/api.py @@ -304,7 +304,7 @@ def api_calibre_opds_import() -> ResponseReturnValue: "success": True, "status": "imported", "pending_id": result.pending.id, - "redirect": url_for("main.wizard_step", step="chapters", pending_id=result.pending.id) + "redirect_url": url_for("main.wizard_step", step="chapters", pending_id=result.pending.id) }) except Exception as e: