fix: correct syntax escape sequences in approvals and tasks controllers
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user