test notifications
This commit is contained in:
1 parent
cb5d8c3468
commit
36d13d556e
3 files changed
+23
-3
No files matched your search
@@ -48,7 +48,11 @@ export const HeaderControls = ({
|
||||
loading={isPosting || isPatching}
|
||||
startIcon={<Mail size={20} strokeWidth={1.5} />}
|
||||
onClick={async () => {
|
||||
await post(`/monitors/${monitor._id}/notifications/test`, {});
|
||||
const res = await post(
|
||||
`/monitors/${monitor._id}/notifications/test`,
|
||||
{}
|
||||
);
|
||||
console.log(res);
|
||||
}}
|
||||
>
|
||||
{t("sendTestNotifications")}
|
||||
|
||||
Reference in new issue
Block a user