aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_reporting_modal
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-11-24 13:57:46 +0200
committerHenry Jameson <me@hjkos.com>2019-11-24 13:57:46 +0200
commitddb6fb9217789e90490a4ec1ce7a2dd9ced67631 (patch)
treeffe3c49d40bfa773d237aec3610c26be901c4255 /src/components/user_reporting_modal
parent41d2fa2fd66ca33b0c83f65d608ee37f8ffcb152 (diff)
Backend Interactor service overhaul, removed the need for copypasting
Diffstat (limited to 'src/components/user_reporting_modal')
-rw-r--r--src/components/user_reporting_modal/user_reporting_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/user_reporting_modal/user_reporting_modal.js b/src/components/user_reporting_modal/user_reporting_modal.js
index 833fa98a..38cf117b 100644
--- a/src/components/user_reporting_modal/user_reporting_modal.js
+++ b/src/components/user_reporting_modal/user_reporting_modal.js
@@ -64,7 +64,7 @@ const UserReportingModal = {
forward: this.forward,
statusIds: this.statusIdsToReport
}
- this.$store.state.api.backendInteractor.reportUser(params)
+ this.$store.state.api.backendInteractor.reportUser({ ...params })
.then(() => {
this.processing = false
this.resetState()