fix: Revert to old endpoint temporarily to enable sharing saved queries (#24434)
This commit is contained in:
parent
93e1db4bd9
commit
86ce440833
|
|
@ -1372,12 +1372,11 @@ export function popStoredQuery(urlId) {
|
|||
export function popSavedQuery(saveQueryId) {
|
||||
return function (dispatch) {
|
||||
return SupersetClient.get({
|
||||
endpoint: `/api/v1/saved_query/${saveQueryId}`,
|
||||
endpoint: `/savedqueryviewapi/api/get/${saveQueryId}`,
|
||||
})
|
||||
.then(({ json }) => {
|
||||
const queryEditorProps = {
|
||||
...convertQueryToClient(json.result),
|
||||
dbId: json.result?.database?.id,
|
||||
loaded: true,
|
||||
autorun: false,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue