]> cat aescling's git repositories - mastodon.git/commitdiff
Fix action type for unfollowHashtag (#18924)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Thu, 25 Aug 2022 02:38:01 +0000 (11:38 +0900)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:28:01 +0000 (00:28 -0400)
app/javascript/mastodon/actions/tags.js

index 216e5b54133c9ccfafb7ff30fc60b72284b3e8f1..37e79d4cbab1de58b8189324818d8ef4b8f00997 100644 (file)
@@ -75,18 +75,18 @@ export const unfollowHashtag = name => (dispatch, getState) => {
 };
 
 export const unfollowHashtagRequest = name => ({
-  type: HASHTAG_FETCH_REQUEST,
+  type: HASHTAG_UNFOLLOW_REQUEST,
   name,
 });
 
 export const unfollowHashtagSuccess = (name, tag) => ({
-  type: HASHTAG_FETCH_SUCCESS,
+  type: HASHTAG_UNFOLLOW_SUCCESS,
   name,
   tag,
 });
 
 export const unfollowHashtagFail = (name, error) => ({
-  type: HASHTAG_FETCH_FAIL,
+  type: HASHTAG_UNFOLLOW_FAIL,
   name,
   error,
 });