diff options
| author | Doot Agent <agent@doot.local> | 2026-07-06 00:00:59 +0000 |
|---|---|---|
| committer | Doot Agent <agent@doot.local> | 2026-07-06 00:00:59 +0000 |
| commit | 945c34590677e161a711ccaff0e1077197b1b178 (patch) | |
| tree | df26e8ba5a369b3323649c2fab95bd8e7a49b58e /internal/config/config.go | |
| parent | cd14604bbef17f696475cf8737f1e41c9fa2dd06 (diff) | |
feat: remove Todoist integration entirely
Native tasks (native_tasks table) fully replace Todoist. All Todoist
API code, store functions, handlers, routes, templates, and tests have
been removed. Migration 021 drops the now-unused tasks cache table.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/config/config.go')
| -rw-r--r-- | internal/config/config.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 6d2e2ef..f4baeef 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -9,7 +9,6 @@ import ( // Config holds all application configuration type Config struct { // API Keys - TodoistAPIKey string PlanToEatAPIKey string PlanToEatSession string // Session cookie for web scraping TrelloAPIKey string @@ -56,7 +55,6 @@ type Config struct { func Load() (*Config, error) { cfg := &Config{ // API Keys - TodoistAPIKey: os.Getenv("TODOIST_API_KEY"), PlanToEatAPIKey: os.Getenv("PLANTOEAT_API_KEY"), PlanToEatSession: os.Getenv("PLANTOEAT_SESSION"), TrelloAPIKey: os.Getenv("TRELLO_API_KEY"), @@ -109,7 +107,6 @@ func Load() (*Config, error) { // Validate checks that required configuration is present func (c *Config) Validate() error { - // Todoist is optional — native task management replaces it when key is absent if c.TrelloAPIKey == "" { return fmt.Errorf("TRELLO_API_KEY is required") } |
