We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a1ae9 commit 208e23dCopy full SHA for 208e23d
packages/cubejs-client-core/src/index.ts
@@ -627,7 +627,7 @@ class CubeApi {
627
query,
628
signal: options?.signal
629
}),
630
- (response: any) => (Array.isArray(response) ? response.map((body) => new SqlQuery(body)) : new SqlQuery(response)),
+ (response: any) => (Array.isArray(response) ? response.map((body) => new SqlQuery(body.sql)) : new SqlQuery(response.sql)),
631
options,
632
callback
633
);
0 commit comments