diff options
Diffstat (limited to 'app/assets/javascripts/batch_comments/services/drafts_service.js')
-rw-r--r-- | app/assets/javascripts/batch_comments/services/drafts_service.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/batch_comments/services/drafts_service.js b/app/assets/javascripts/batch_comments/services/drafts_service.js index 36d2f8df612..b52e573d55d 100644 --- a/app/assets/javascripts/batch_comments/services/drafts_service.js +++ b/app/assets/javascripts/batch_comments/services/drafts_service.js @@ -19,8 +19,8 @@ export default { fetchDrafts(endpoint) { return axios.get(endpoint); }, - publish(endpoint) { - return axios.post(endpoint); + publish(endpoint, noteData) { + return axios.post(endpoint, noteData); }, discard(endpoint) { return axios.delete(endpoint); |