aboutsummaryrefslogtreecommitdiff
path: root/src/services/follow_manipulate/follow_manipulate.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-12-26 16:49:42 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-12-26 16:49:42 +0000
commitb8f4b18ae5e362bce97553cf4bcde1749b6fea32 (patch)
treeb9e370f0af483e569c4bdd374d91cd140022174c /src/services/follow_manipulate/follow_manipulate.js
parentf7029a27eb9def00c80929b2c2cfb1d22d29bbfe (diff)
parentbd07e5de1c03a5619db5af49f14dc20602134881 (diff)
Merge branch 'streaming' into 'develop'
Streaming and Backend Interactor service overhaul, removed the need for copypasting See merge request pleroma/pleroma-fe!1012
Diffstat (limited to 'src/services/follow_manipulate/follow_manipulate.js')
-rw-r--r--src/services/follow_manipulate/follow_manipulate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/follow_manipulate/follow_manipulate.js b/src/services/follow_manipulate/follow_manipulate.js
index 598cb5f7..29b38a0f 100644
--- a/src/services/follow_manipulate/follow_manipulate.js
+++ b/src/services/follow_manipulate/follow_manipulate.js
@@ -39,7 +39,7 @@ export const requestFollow = (user, store) => new Promise((resolve, reject) => {
})
export const requestUnfollow = (user, store) => new Promise((resolve, reject) => {
- store.state.api.backendInteractor.unfollowUser(user.id)
+ store.state.api.backendInteractor.unfollowUser({ id: user.id })
.then((updated) => {
store.commit('updateUserRelationship', [updated])
resolve({