mirror of
https://github.com/cjdenio/jia.git
synced 2025-05-14 17:33:05 +00:00
Rename bot token environment variable
This commit is contained in:
parent
160291c2f1
commit
5c91f310f7
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ type Config struct {
|
|||
|
||||
func NewConfig() *Config {
|
||||
return &Config{
|
||||
BotToken: getEnv("SLACK_CLIENT_BOT_TOKEN", ""),
|
||||
BotToken: getEnv("SLACK_BOT_TOKEN", ""),
|
||||
ChannelID: getEnv("SLACK_CHANNEL_ID", ""),
|
||||
Port: getEnvAsInt("PORT", 3000),
|
||||
RedisURL: getEnv("REDIS_URL", "redis://localhost:6379/0"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue