add method for sending test emails

This commit is contained in:
Alex Holliday committed 2025-05-12 11:37:15 -07:00
1 parent 9cfbf6adde
commit 27fc5fd5f7
1 file changed
+8
+8
View File
@@ -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;