Skip to content

Commit

Permalink
Revert to old endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrag1 committed Jun 16, 2023
1 parent 01689b4 commit d90f6f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset-frontend/src/SqlLab/actions/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit d90f6f8

Please sign in to comment.