Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thedmdim committed Feb 4, 2024
1 parent 08aab6c commit bd73526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/conf/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func ParseConfig() *Config {
config.DSN = "server.db"
}

config.YtApiKey = os.Getenv("YT_API_KEYS")
config.YtApiKey = os.Getenv("YT_API_KEY")
if config.YtApiKey == "" {
log.Fatal("You forgot to provide YouTube API key!")
}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- ./db:/usr/bin/ytstalker/db
environment:
DSN: db/${DSN:-server.db}
YT_API_KEYS: ${YT_API_KEYS}
YT_API_KEY: ${YT_API_KEY}

networks:
- app
Expand Down

0 comments on commit bd73526

Please sign in to comment.