Skip to content

Commit

Permalink
fix: email
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Oct 26, 2023
1 parent 7f63e0e commit df6186c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type Config struct {
AppID string `env:"APP_ID,required"`
AppSecret string `env:"APP_SECRET,required"`
Username string `env:"USERNAME,required"`
Email string `env:"EMAIL,required"`
Password string `env:"PASSWORD,required"`
InverterSN string `env:"SN,required"`
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
client, err := solarman.New(
cfg.AppID,
cfg.AppSecret,
cfg.Username,
cfg.Email,
cfg.Password,
)
if err != nil {
Expand Down

0 comments on commit df6186c

Please # to comment.