Skip to content

Commit

Permalink
chore(component,google-sheets): enable google-sheets component (#934)
Browse files Browse the repository at this point in the history
This commit

- enables `google-sheets` component
  • Loading branch information
donch1989 authored Dec 11, 2024
1 parent ab29d4d commit 64e00bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func (r *repository) ListComponentDefinitionUIDs(_ context.Context, p ListCompon

// TODO: refactor it with store.go in ins-7031
if config.Config.Server.Edition == config.EditionCloudStaging || config.Config.Server.Edition == config.EditionCloudProd {
skipComponentsInCloud := []string{"google-drive", "google-sheets"}
skipComponentsInCloud := []string{"google-drive"}
queryBuilder = queryBuilder.Where("id NOT IN (?)", skipComponentsInCloud)
}

Expand Down Expand Up @@ -875,7 +875,7 @@ func (r *repository) ListIntegrations(ctx context.Context, p ListIntegrationsPar
Where("is_visible IS TRUE AND has_integration IS TRUE")

if config.Config.Server.Edition == config.EditionCloudStaging || config.Config.Server.Edition == config.EditionCloudProd {
skipComponentsInCloud := []string{"google-drive", "google-sheets"}
skipComponentsInCloud := []string{"google-drive"}
queryBuilder = queryBuilder.Where("id NOT IN (?)", skipComponentsInCloud)
}

Expand Down

0 comments on commit 64e00bf

Please sign in to comment.