From 13741d0f0aa407f5a6f44fe6142ec1cbe6f7f446 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 16 Jun 2025 12:15:54 +0800 Subject: [PATCH] add test all notifications method --- client/src/Utils/NetworkService.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/src/Utils/NetworkService.js b/client/src/Utils/NetworkService.js index 3059462f9..eee795268 100644 --- a/client/src/Utils/NetworkService.js +++ b/client/src/Utils/NetworkService.js @@ -678,6 +678,16 @@ class NetworkService { }); } + async testAllNotifications(config) { + const { monitorId } = config; + return this.axiosInstance.post("/notifications/test/all", { + monitorId, + headers: { + "Content-Type": "application/json", + }, + }); + } + /** * ************************************ * Creates a maintenance window