add method for sending test emails
This commit is contained in:
1 parent
9cfbf6adde
commit
27fc5fd5f7
1 file changed
+8
@@ -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;
|
export default NetworkService;
|
||||||
|
|||||||
Reference in new issue
Block a user