From fd87a28eb3850b98674127411944d616184ee86b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 25 Aug 2024 19:13:31 -0400 Subject: [PATCH] Fix bug in API parameters --- api-daemon/pvcapid/flaskapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 1f1e3e58..8345fe74 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -3565,7 +3565,7 @@ class API_VM_Autobackup_Root(Resource): task = run_celery_task( "cluster.autobackup", - force_full=reqargs.get("force_full", False), + force_full=bool(strtobool(reqargs.get("force_full", "false"))), email_recipients=email_recipients, run_on="primary", )