Skip to content

Commit

Permalink
use the token in config, rather than token var
Browse files Browse the repository at this point in the history
  • Loading branch information
abelanger5 committed Jun 22, 2021
1 parent 86e6ca8 commit 1545a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func login() error {
config.SetToken(config.Token)
color.New(color.FgGreen).Println("Successfully logged in!")

projID, err := api.GetProjectIDFromToken(token)
projID, err := api.GetProjectIDFromToken(config.Token)

if err != nil {
return err
Expand Down

0 comments on commit 1545a8b

Please sign in to comment.