Skip to content

Commit

Permalink
fix: drop selfhost hack
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed May 13, 2024
1 parent 1ced46a commit 6bf24f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/auth/auth_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func completeLogin(ctx context.Context, opts *loginOptions) error {
// If only one organization is available, that one is selected by default,
// without asking the user for it.
if opts.OrganizationID == "" {
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", opts.Config.Insecure)
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "", opts.Config.Insecure)
if err != nil {
return err
}
Expand Down Expand Up @@ -258,7 +258,7 @@ func autoLogin(ctx context.Context, opts *loginOptions) error {
// If only one organization is available, that one is selected by default,
// without asking the user for it.
if opts.OrganizationID == "" {
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", opts.Config.Insecure)
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "", opts.Config.Insecure)
if err != nil {
return err
}
Expand Down

0 comments on commit 6bf24f6

Please sign in to comment.