Skip to content

Commit

Permalink
fix telegram token server setting
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed Jun 13, 2021
1 parent fd4c6ce commit de6e541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ type AdminGroup struct {

// TelegramGroup defines token for Telegram used in notify and auth modules
type TelegramGroup struct {
Token string `long:"host" env:"HOST" description:"SMTP host"`
Token string `long:"token" env:"TOKEN" description:"telegram token (used for auth and telegram notifications)"`
Timeout time.Duration `long:"timeout" env:"TIMEOUT" default:"5s" description:"telegram timeout"`
}

Expand Down

0 comments on commit de6e541

Please sign in to comment.