diff --git a/cmd/lunatask-mcp-server.go b/cmd/lunatask-mcp-server.go index 3dfd41bfeb96cd20fb123f4c7ded6beade34764c..ea59bd27a2e6fbc9cfa7074b41ff20b1773c40e7 100644 --- a/cmd/lunatask-mcp-server.go +++ b/cmd/lunatask-mcp-server.go @@ -33,7 +33,7 @@ func (g Goal) GetID() string { return g.ID } type Area struct { Name string `toml:"name"` ID string `toml:"id"` - Goals []Goal `toml:"goals"` + Goals []Goal `toml:"goal"` } // GetName returns the area's name. @@ -71,7 +71,7 @@ type ServerConfig struct { type Config struct { AccessToken string `toml:"access_token"` - Areas []Area `toml:"areas"` + Areas []Area `toml:"area"` Server ServerConfig `toml:"server"` Timezone string `toml:"timezone"` Habit []Habit `toml:"habit"`