Skip to content

Commit 6bf24f6

Browse files
committed
fix: drop selfhost hack
1 parent 1ced46a commit 6bf24f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/auth/auth_login.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func completeLogin(ctx context.Context, opts *loginOptions) error {
152152
// If only one organization is available, that one is selected by default,
153153
// without asking the user for it.
154154
if opts.OrganizationID == "" {
155-
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", opts.Config.Insecure)
155+
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "", opts.Config.Insecure)
156156
if err != nil {
157157
return err
158158
}
@@ -258,7 +258,7 @@ func autoLogin(ctx context.Context, opts *loginOptions) error {
258258
// If only one organization is available, that one is selected by default,
259259
// without asking the user for it.
260260
if opts.OrganizationID == "" {
261-
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "axiom", opts.Config.Insecure)
261+
axiomClient, err := client.New(ctx, opts.apiURL, opts.Token, "", opts.Config.Insecure)
262262
if err != nil {
263263
return err
264264
}

0 commit comments

Comments
 (0)