From f3f0a812e609ead960fb5c6a4fb103f2cff20905 Mon Sep 17 00:00:00 2001 From: Ocenka Date: Sat, 28 Dec 2024 14:52:58 +0000 Subject: [PATCH 1/2] typo sendNotifications.ts --- packages/dnode/src/lib/payloads/sendNotifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dnode/src/lib/payloads/sendNotifications.ts b/packages/dnode/src/lib/payloads/sendNotifications.ts index 276b0fc03..9600cd1c5 100644 --- a/packages/dnode/src/lib/payloads/sendNotifications.ts +++ b/packages/dnode/src/lib/payloads/sendNotifications.ts @@ -75,7 +75,7 @@ function validateOptions(options: ISendNotificationInputOptions) { !options.rules ) { throw new Error( - '[Push SDK] - Error - sendNotification() - Either chatId or rules object is required to send a additional meta notification for video or spaces' + '[Push SDK] - Error - sendNotification() - Either chatId or rules object is required to send an additional meta notification for video or spaces' ); } } From 338a048afbf555ba73036bbde56b8f3428230109 Mon Sep 17 00:00:00 2001 From: Ocenka Date: Sat, 28 Dec 2024 14:53:27 +0000 Subject: [PATCH 2/2] typo sendNotifications.ts --- packages/restapi/src/lib/payloads/sendNotifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/restapi/src/lib/payloads/sendNotifications.ts b/packages/restapi/src/lib/payloads/sendNotifications.ts index ea02b3c12..60ed1966f 100644 --- a/packages/restapi/src/lib/payloads/sendNotifications.ts +++ b/packages/restapi/src/lib/payloads/sendNotifications.ts @@ -74,7 +74,7 @@ function validateOptions(options: ISendNotificationInputOptions) { !options.rules ) { throw new Error( - '[Push SDK] - Error - sendNotification() - Either chatId or rules object is required to send a additional meta notification for video or spaces' + '[Push SDK] - Error - sendNotification() - Either chatId or rules object is required to send an additional meta notification for video or spaces' ); } }