From e7f470ccf2232c839a998a2118f9b07e39bdb108 Mon Sep 17 00:00:00 2001 From: Jonson Petard <41122242+greenhat616@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:45:21 +0800 Subject: [PATCH] fix: compatible with missing remote option --- backend/tauri/src/config/profile/item/remote.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/tauri/src/config/profile/item/remote.rs b/backend/tauri/src/config/profile/item/remote.rs index 89022748ee..63fa812779 100644 --- a/backend/tauri/src/config/profile/item/remote.rs +++ b/backend/tauri/src/config/profile/item/remote.rs @@ -55,6 +55,7 @@ pub struct RemoteProfile { ))] #[builder_update(nested)] #[builder_field_attr(serde(default))] + #[serde(default)] pub option: RemoteProfileOptions, /// process chains #[builder(default)]