@openinc/parse-server-opendash 3.29.2 → 3.29.4
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.
|
@@ -58,8 +58,6 @@ async function assignUsersAndRoles(ticket, assignedTo, fetchOptions, assigningUs
|
|
|
58
58
|
user: ticket.get("user"),
|
|
59
59
|
batchStamp: batchTime,
|
|
60
60
|
}));
|
|
61
|
-
if (assignedTo.id === assigningUser?.id)
|
|
62
|
-
continue;
|
|
63
61
|
await new types_1.Notification({
|
|
64
62
|
data: {
|
|
65
63
|
ticketId: ticket.id,
|
|
@@ -93,8 +91,7 @@ async function assignUsersAndRoles(ticket, assignedTo, fetchOptions, assigningUs
|
|
|
93
91
|
.query()
|
|
94
92
|
.find(fetchOptions);
|
|
95
93
|
for await (const roleUser of roleUsers) {
|
|
96
|
-
if (userNotifiedIds.includes(roleUser.id)
|
|
97
|
-
roleUser.id === assigningUser?.id)
|
|
94
|
+
if (userNotifiedIds.includes(roleUser.id))
|
|
98
95
|
continue;
|
|
99
96
|
const resipientlanguage = await (0, getUserLanguage_1.getUserLanguage)(roleUser);
|
|
100
97
|
const recipientlink = await (0, getTicketLink_1.getTicketLink)(ticket, roleUser);
|
package/package.json
CHANGED