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

@@ -176,9 +176,7 @@ export class DepartmentTasksController {
if (body.status === "DONE") updateData.completedAt = new Date();
// اگر تست QA ناموفق بود و به TODO برگشت، لاگ اصلاح ضمیمه می‌شود
if (body.status === "TODO" && body.logNote) {
updateData.description = (existing.description || "") + "
[اصلاحات و تضمین کیفیت QA]: " + body.logNote;
updateData.description = (existing.description || "") + "\n\n[اصلاحات و تضمین کیفیت QA]: " + body.logNote;
}
const updated = await (this.prisma as any).departmentTask.update({