diff options
| author | Henry Jameson <me@hjkos.com> | 2019-11-24 13:57:46 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-11-24 13:57:46 +0200 |
| commit | ddb6fb9217789e90490a4ec1ce7a2dd9ced67631 (patch) | |
| tree | ffe3c49d40bfa773d237aec3610c26be901c4255 /src/components/follow_request_card | |
| parent | 41d2fa2fd66ca33b0c83f65d608ee37f8ffcb152 (diff) | |
Backend Interactor service overhaul, removed the need for copypasting
Diffstat (limited to 'src/components/follow_request_card')
| -rw-r--r-- | src/components/follow_request_card/follow_request_card.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/follow_request_card/follow_request_card.js b/src/components/follow_request_card/follow_request_card.js index 1a00a1c1..a8931787 100644 --- a/src/components/follow_request_card/follow_request_card.js +++ b/src/components/follow_request_card/follow_request_card.js @@ -7,11 +7,11 @@ const FollowRequestCard = { }, methods: { approveUser () { - this.$store.state.api.backendInteractor.approveUser(this.user.id) + this.$store.state.api.backendInteractor.approveUser({ id: this.user.id }) this.$store.dispatch('removeFollowRequest', this.user) }, denyUser () { - this.$store.state.api.backendInteractor.denyUser(this.user.id) + this.$store.state.api.backendInteractor.denyUser({ id: this.user.id }) this.$store.dispatch('removeFollowRequest', this.user) } } |
