robdiciuccio commented on a change in pull request #11880:
URL:
https://github.com/apache/incubator-superset/pull/11880#discussion_r542107527
##########
File path: superset-frontend/src/chart/chartAction.js
##########
@@ -361,38 +361,36 @@ export function exploreJSON(
const chartDataRequestCaught = chartDataRequest
.then(response => {
+ const queriesResponse = response.result;
+
if (isFeatureEnabled(FeatureFlag.GLOBAL_ASYNC_QUERIES)) {
// deal with getChartDataRequest transforming the response data
const result = 'result' in response ? response.result[0] : response;
return dispatch(chartUpdateQueued(result, key));
Review comment:
Yes, the return value here is a [async job metadata
payload](https://github.com/apache/incubator-superset/blob/4d329071a1651994574c3ad1f26e32b56d9ff810/superset/charts/schemas.py#L1108).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]