diff --git a/platypush/backend/http/static/js/plugins/sound/index.js b/platypush/backend/http/static/js/plugins/sound/index.js index 2a5b8e96..5e2230b4 100644 --- a/platypush/backend/http/static/js/plugins/sound/index.js +++ b/platypush/backend/http/static/js/plugins/sound/index.js @@ -14,8 +14,9 @@ Vue.component('sound', { this.recording = true; }, - stopRecording: function() { + stopRecording: async function() { this.recording = false; + await request('sound.stop_recording') }, }, });