summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go3
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")
}