fix(sync): align test_sync_target arg with the config param

This commit is contained in:
iamdoubz committed 2026-07-02 21:56:58 -05:00
1 parent daa9b72e62
commit 906c800b2a
1 file changed
+1 -1
+1 -1
View File
@@ -377,7 +377,7 @@ export const api = {
invoke<SyncTargetInfo>("update_sync_target", { config }),
removeSyncTarget: (id: string) => invoke<void>("remove_sync_target", { id }),
testSyncTarget: (configOrId: SyncTargetConfig | { id: string }) =>
invoke<{ ok: boolean; message: string }>("test_sync_target", { configOrId }),
invoke<{ ok: boolean; message: string }>("test_sync_target", { config: configOrId }),
setSyncEnabled: (enabled: boolean) => invoke<void>("set_sync_enabled", { enabled }),
beginOauthLink: (kind: "onedrive" | "dropbox" | "box") =>
invoke<{ ok: boolean; account?: string }>("begin_oauth_link", { kind }),