Skip to content

Commit 28371e6

Browse files
committed
fix(adapter): rename 'object' to 'cube' in payload for clarity
1 parent b202027 commit 28371e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/data-objectstack/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ export class ObjectStackAdapter<T = unknown> implements DataSource<T> {
830830

831831
try {
832832
const payload: Record<string, unknown> = {
833-
object: resource,
833+
cube: resource,
834834
measures: [{ field: params.field, function: params.function }],
835835
dimensions: [params.groupBy],
836836
};

0 commit comments

Comments
 (0)