You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/08/17 06:11:15 UTC

[superset] branch master updated: chore(explore): remove unnecessary favstar redirect (#16288)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2be84e7  chore(explore): remove unnecessary favstar redirect (#16288)
2be84e7 is described below

commit 2be84e78d2b002c2cc1dff08e3515ee719916206
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Tue Aug 17 09:09:38 2021 +0300

    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 7ebfc45..c4faf79 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));