From df1f9063fac5c657e14fa03acf9a113d20bd00be Mon Sep 17 00:00:00 2001 From: Vara Date: Wed, 14 Aug 2024 12:13:02 +0530 Subject: [PATCH] Test if the cypress is failing due to API call issue --- assets/js/realtime-notices.js | 1 + 1 file changed, 1 insertion(+) 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); }