diff --git a/assets/js/realtime-notices.js b/assets/js/realtime-notices.js index 6f39cd8..1a2e4b7 100644 --- a/assets/js/realtime-notices.js +++ b/assets/js/realtime-notices.js @@ -366,6 +366,7 @@ } ) .then(response => { + return response; if (response.status !== 201) { throw new Error(response.statusText); }