Skip to content

Commit 725638b

Browse files
committed
removing id
1 parent 36c3496 commit 725638b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ function buildCustomNotification(_) {
176176
})),
177177

178178
// Low-level API properties
179-
Id: _.Id,
180179
OriginId: _.OriginId,
181180
NotificationTypeId: _.NotificationTypeId,
182181
NotificationTypeVersion: _.NotificationTypeVersion || "1",

test/lib/utils.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ describe("Test utils", () => {
225225

226226
test("When recipients, type, properties, navigation, priority, payload are passed to buildNotification", () => {
227227
const expectedNotification = {
228-
Id: "01234567-89ab-cdef-0123-456789abcdef",
229228
OriginId: "01234567-89ab-cdef-0123-456789abcdef",
230229
NotificationTypeId: "01234567-89ab-cdef-0123-456789abcdef",
231230
NotificationTypeKey: "notifications/TestNotificationType",
@@ -276,7 +275,6 @@ describe("Test utils", () => {
276275
NavigationTargetAction: "TestTargetAction",
277276
NavigationTargetObject: "TestTargetObject",
278277
priority: "HIGH",
279-
Id: "01234567-89ab-cdef-0123-456789abcdef",
280278
OriginId: "01234567-89ab-cdef-0123-456789abcdef",
281279
NotificationTypeId: "01234567-89ab-cdef-0123-456789abcdef",
282280
ProviderId: "SAMPLEPROVIDER",

0 commit comments

Comments
 (0)