Skip to content

Commit

Permalink
chore(explore): remove unnecessary favstar redirect (apache#16288)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and Emmanuel Bavoux committed Nov 14, 2021
1 parent 800fd9b commit daf2f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/explore/actions/exploreActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const FETCH_FAVE_STAR = 'FETCH_FAVE_STAR';
export function fetchFaveStar(sliceId: string) {
return function (dispatch: Dispatch) {
SupersetClient.get({
endpoint: `${FAVESTAR_BASE_URL}/${sliceId}/count`,
endpoint: `${FAVESTAR_BASE_URL}/${sliceId}/count/`,
}).then(({ json }) => {
if (json.count > 0) {
dispatch(toggleFaveStar(true));
Expand Down

0 comments on commit daf2f01

Please sign in to comment.