From 23133dcb2ada642d96becfe0027eec0c7efa1297 Mon Sep 17 00:00:00 2001 From: bugclerk <40872210+bugclerk@users.noreply.github.com> Date: Tue, 3 Dec 2024 07:08:15 -0800 Subject: [PATCH] Fix bad backport https://github.com/truenas/middleware/pull/14953 (#15101) (cherry picked from commit b9bdec9aff53201a3c74790869d0132b837e7fce) Co-authored-by: themylogin --- 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 })