summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/store/account.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/account.js b/src/store/account.js
index 01f59336..43ea3b26 100644
--- a/src/store/account.js
+++ b/src/store/account.js
@@ -201,7 +201,7 @@ const actions = {
commit('setCurrentAccount', account)
dispatch('fetchAccountInfo', account)
},
- async followAccount(context, { currentAccount, accountToFollow }) {
+ async followAccount(context, { accountToFollow }) {
try {
const response = await axios.put(generateUrl('/apps/social/api/v1/current/follow?account=' + accountToFollow))
if (response.data.status === -1) {
@@ -214,7 +214,7 @@ const actions = {
logger.error(`Failed to follow user ${accountToFollow}`, { error })
}
},
- async unfollowAccount(context, { currentAccount, accountToUnfollow }) {
+ async unfollowAccount(context, { accountToUnfollow }) {
try {
const response = await axios.delete(generateUrl('/apps/social/api/v1/current/follow?account=' + accountToUnfollow))
if (response.data.status === -1) {