From 2be84e78d2b002c2cc1dff08e3515ee719916206 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Tue, 17 Aug 2021 09:09:38 +0300 Subject: [PATCH] chore(explore): remove unnecessary favstar redirect (#16288) --- superset-frontend/src/explore/actions/exploreActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/actions/exploreActions.ts b/superset-frontend/src/explore/actions/exploreActions.ts index 7ebfc45e426..c4faf793b11 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));