Skip to content

Commit

Permalink
Revert "fix: drop selfhost hack"
Browse files Browse the repository at this point in the history
This reverts commit 2cc2123.
  • Loading branch information
lukasmalkmus committed May 14, 2024
1 parent 6bf24f6 commit 437a9db
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, "", opts.Config.Insecure)
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", 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, "", opts.Config.Insecure)
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", opts.Config.Insecure)
if err != nil {
return err
}
Expand Down

0 comments on commit 437a9db

Please sign in to comment.