diff --git a/superset-frontend/src/explore/actions/exploreActions.ts b/superset-frontend/src/explore/actions/exploreActions.ts index 7ebfc45e42639..c4faf793b1155 100644 --- a/superset-frontend/src/explore/actions/exploreActions.ts +++ b/superset-frontend/src/explore/actions/exploreActions.ts @@ -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));