From 462435b7dfa266bf6101fc53443ed22fa7384f8a Mon Sep 17 00:00:00 2001 From: themylogin Date: Tue, 3 Dec 2024 16:05:42 +0100 Subject: [PATCH] Fix bad backport https://github.com/truenas/middleware/pull/14953 (cherry picked from commit b9bdec9aff53201a3c74790869d0132b837e7fce) --- src/middlewared/middlewared/plugins/cloud_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/plugins/cloud_sync.py b/src/middlewared/middlewared/plugins/cloud_sync.py index 0fe8c5ac30a8..af2963d35e4f 100644 --- a/src/middlewared/middlewared/plugins/cloud_sync.py +++ b/src/middlewared/middlewared/plugins/cloud_sync.py @@ -263,7 +263,7 @@ async def rclone(middleware, job, cloud_sync, dry_run): updated = True if updated: await middleware.call("cloudsync.credentials.update", cloud_sync["credentials"]["id"], { - "provider": credentials_attributes + "attributes": credentials_attributes })