Skip to content

Commit 4b7fa10

Browse files
committed
fix
1 parent 90ae983 commit 4b7fa10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-api-gateway/src/gateway.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ class ApiGateway {
630630
context,
631631
normalizeQueryPreAggregations(
632632
{
633-
timezones: this.scheduledRefreshTimeZones ? this.scheduledRefreshTimeZones(context) : [],
633+
timezones: this.scheduledRefreshTimeZones ? this.scheduledRefreshTimeZones(context) : undefined,
634634
preAggregations: preAggregations.map(p => ({
635635
id: p.id,
636636
cacheOnly,
@@ -654,7 +654,7 @@ class ApiGateway {
654654
try {
655655
query = normalizeQueryPreAggregations(
656656
this.parseQueryParam(query),
657-
{ timezones: this.scheduledRefreshTimeZones ? this.scheduledRefreshTimeZones(context) : [] }
657+
{ timezones: this.scheduledRefreshTimeZones ? this.scheduledRefreshTimeZones(context) : undefined }
658658
);
659659
const orchestratorApi = await this.getAdapterApi(context);
660660
const compilerApi = await this.getCompilerApi(context);

0 commit comments

Comments
 (0)