From 87a2a85dd766526242ee2118d84ed7ddccecf354 Mon Sep 17 00:00:00 2001 From: chuan Date: Thu, 30 Apr 2026 09:56:55 +0800 Subject: [PATCH] fix: reorder accounts field in Store struct for consistency --- src/config_store.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config_store.rs b/src/config_store.rs index 6c0f1b6..705f301 100644 --- a/src/config_store.rs +++ b/src/config_store.rs @@ -18,13 +18,13 @@ pub struct Store { #[serde(default)] pub meta: Meta, #[serde(default)] - pub accounts: Vec, - #[serde(default)] pub homes: Vec, #[serde(default)] pub server: ServerConfig, #[serde(default)] pub sync: SyncConfig, + #[serde(default)] + pub accounts: Vec, } #[derive(Debug, Clone, Serialize, Deserialize)] @@ -220,10 +220,10 @@ impl Store { fn with_default_home(codex_home: &Path) -> Self { let mut store = Self { meta: Meta::default(), - accounts: Vec::new(), homes: Vec::new(), server: ServerConfig::default(), sync: SyncConfig::default(), + accounts: Vec::new(), }; store.ensure_default_home(codex_home); store