From cf93dd80d7ad6b9c297f0a6af67136fdd1167d55 Mon Sep 17 00:00:00 2001 From: Ivan Paunov <95417043+ipaunov@users.noreply.github.com> Date: Thu, 26 Oct 2023 00:07:44 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b4d66df..4be8e3b 100644 --- a/README.md +++ b/README.md @@ -106,10 +106,10 @@ alert.notify({ }); ``` -#### **Custom Notifications** +#### Custom Notifications You can use these two signature to send the custom notification with pre-defined notification types. -##### **Passing the whole notification object** +#### Passing the whole notification object By using this approach you need to pass the whole notification object as described in the API documentation ```js alert.notify({ @@ -136,11 +136,11 @@ alert.notify({ }); ``` -##### **Passing the notification object in parts** +#### Passing the notification object in parts By using this approach you can post a notification by providing different parts of the notification object grouped in related units ```js alert.notify({ - recipients: recipients, + recipients: ["admin1@test.com","admin2@test.com"], type: "IncidentCreated" priority: 'NEUTRAL', properties: [