@optimiser/common 1.0.424 → 1.0.425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/taskutils.js +2 -2
- package/package.json +1 -1
package/dist/lib/taskutils.js
CHANGED
|
@@ -310,14 +310,14 @@ function CreateNotificationContent(info, req, db, event) {
|
|
|
310
310
|
});
|
|
311
311
|
Payload['pushObj'] = {
|
|
312
312
|
title: "New ".concat(listType, " assigned: ").concat(list.ListName),
|
|
313
|
-
message: "".concat(creator.FirstName, " ").concat(creator.LastName, " has added you to this ").concat(listType),
|
|
313
|
+
message: "".concat(creator.FirstName, " ").concat(creator.LastName, " has added you in Tasks to this ").concat(listType),
|
|
314
314
|
attr: "TaskList:".concat(list._id, ":").concat(list.IsMasterList, ":").concat(list.IsPublic, ":").concat(list.OwnerID)
|
|
315
315
|
};
|
|
316
316
|
Payload['desktopObj'] = {
|
|
317
317
|
EventObjectName: "TaskList",
|
|
318
318
|
EventID: list._id,
|
|
319
319
|
UserIds: Payload['users'],
|
|
320
|
-
Message: "".concat(creator.FirstName, " ").concat(creator.LastName, " has added you to this ").concat(listType, ": ").concat(list.ListName),
|
|
320
|
+
Message: "".concat(creator.FirstName, " ").concat(creator.LastName, " has added you in Tasks to this ").concat(listType, ": ").concat(list.ListName),
|
|
321
321
|
CreatedBy: creator._id
|
|
322
322
|
};
|
|
323
323
|
TriggerNotifications(list.TaskNotification, Payload, req, db, event);
|