From 27fc5fd5f771bd616d8d069d4b62190c11889c9e Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 12 May 2025 11:37:15 -0700 Subject: [PATCH] add method for sending test emails --- client/src/Utils/NetworkService.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/src/Utils/NetworkService.js b/client/src/Utils/NetworkService.js index d6447a198..4adf8ff8b 100644 --- a/client/src/Utils/NetworkService.js +++ b/client/src/Utils/NetworkService.js @@ -1152,6 +1152,14 @@ class NetworkService { } ); } + + // ************************************ + // Send tes t email + // ************************************ + async sendTestEmail(config) { + const { to } = config; + return this.axiosInstance.post(`/monitors/test-email`, { to }); + } } export default NetworkService;