fixed alerts bug

This commit is contained in:
2025-06-24 14:28:13 +05:30
parent 32bbfc73dd
commit c00b5d29f2
4 changed files with 5 additions and 5 deletions

View File

@@ -80,9 +80,9 @@ export async function updateNotification(
await createAlert(
user.tenantId,
``,
`You are assigned to ${updateNotificationResult.permitNumber}`,
"user",
user.userId,
input.assignedTo,
updateNotificationResult.permitId,
"permits"
);

View File

@@ -213,7 +213,7 @@ export async function updatePermit(
user.tenantId,
`You are assigned to ${updatePermitResult.permitNumber}`,
"user",
user.userId,
input.assignedTo,
updatePermitResult.pid,
"permits"
);

View File

@@ -218,7 +218,7 @@ export async function updateRts(
user.tenantId,
`You are assigned to RTS`,
"user",
user.userId,
input.assignedTo,
updatedRts.pid,
"rts"
);

View File

@@ -64,7 +64,7 @@ export async function updateTask(
user.tenantId,
`You are assigned to ${updatedTask.title}`,
"user",
user.userId,
input.assignedTo,
updatedTask.pid,
"tasks"
);