fix: correct syntax escape sequences in approvals and tasks controllers
Deploy Canina / deploy (push) Failing after 1m45s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

This commit is contained in:
devops committed 2026-10-14 16:47:16 +00:00
1 parent dd90ab0f4c
commit 969020105a
2 files changed
+3 -9

No files matched your search

+2 -6
View File
@@ -185,9 +185,7 @@ export class ApprovalsController {
where: { id: existingTask.id },
data: {
status: "TODO",
description: dto.ceoNotes ? (existingTask.description || "") + "
[یادداشت مدیرعامل]: " + dto.ceoNotes : existingTask.description,
description: dto.ceoNotes ? (existingTask.description || "") + "\n\n[یادداشت مدیرعامل]: " + dto.ceoNotes : existingTask.description,
},
});
} else {
@@ -196,9 +194,7 @@ export class ApprovalsController {
code: "TSK-" + Date.now().toString().slice(-6),
department: item.department,
title: item.title,
description: dto.ceoNotes ? (item.title + "
[یادداشت مدیرعامل]: " + dto.ceoNotes) : item.title,
description: dto.ceoNotes ? (item.title + "\n\n[یادداشت مدیرعامل]: " + dto.ceoNotes) : item.title,
status: "TODO",
priority: "HIGH",
assignee: "AI_AGENT",