diff --git a/cmd/enterprise-portal/internal/database/importer/importer.go b/cmd/enterprise-portal/internal/database/importer/importer.go index 74ad6db3766..02c0acc8e17 100644 --- a/cmd/enterprise-portal/internal/database/importer/importer.go +++ b/cmd/enterprise-portal/internal/database/importer/importer.go @@ -168,7 +168,7 @@ func (i *importer) importSubscription(ctx context.Context, dotcomSub *dotcomdb.S for _, t := range activeLicense.Tags { parts := strings.SplitN(t, ":", 2) if len(parts) != 2 { - return nil + continue } if parts[0] == "customer" { // Collision rates are high, and it's tricky to check - @@ -210,7 +210,7 @@ func (i *importer) importSubscription(ctx context.Context, dotcomSub *dotcomdb.S return errors.Wrap(err, "dotcom: get cody gateway access") } if _, err := i.codyGatewayAccess.Upsert(ctx, dotcomSub.ID, codyaccess.UpsertCodyGatewayAccessOptions{ - Enabled: dotcomCGAccess.CodyGatewayEnabled, + Enabled: pointers.Ptr(dotcomCGAccess.CodyGatewayEnabled), ChatCompletionsRateLimit: dotcomCGAccess.ChatCompletionsRateLimit, ChatCompletionsRateLimitIntervalSeconds: dotcomCGAccess.ChatCompletionsRateSeconds,