Skip to content

Commit fd2f2f2

Browse files
committed
fix important
1 parent 1af974a commit fd2f2f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ class ApiGateway {
735735
const preAggregationPartitionsWithoutError = preAggregationPartitions.filter(p => !p?.errors?.length);
736736

737737
const versionEntriesResult = preAggregationPartitions &&
738-
orchestratorApi.getPreAggregationVersionEntries(
738+
await orchestratorApi.getPreAggregationVersionEntries(
739739
context,
740740
preAggregationPartitionsWithoutError,
741741
compilerApi.preAggregationsSchema

packages/cubejs-server-core/src/core/OrchestratorApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export class OrchestratorApi {
262262
this.seenDataSources[dataSource] = true;
263263
}
264264

265-
public getPreAggregationVersionEntries(context: RequestContext, preAggregations, preAggregationsSchema) {
265+
public getPreAggregationVersionEntries(context: RequestContext, preAggregations, preAggregationsSchema): Promise<any> {
266266
return this.orchestrator.getPreAggregationVersionEntries(
267267
preAggregations,
268268
preAggregationsSchema,

0 commit comments

Comments
 (0)