From 2382ab1f6ff8c56d037982793e1772175f3beed7 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Fri, 6 Feb 2026 13:29:57 +0700 Subject: [PATCH] Update email --- BACKEND/app/services/line_connection.ts | 20 +++++++++---------- BACKEND/app/services/physical_test_service.ts | 12 +++++------ BACKEND/providers/socket_io_provider.ts | 1 + 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/BACKEND/app/services/line_connection.ts b/BACKEND/app/services/line_connection.ts index 48fb527..c788667 100644 --- a/BACKEND/app/services/line_connection.ts +++ b/BACKEND/app/services/line_connection.ts @@ -1714,11 +1714,11 @@ ${log} - Model : ${this.config?.inventory?.pid ?? 'N/A'}
- Serial Number : ${this.config?.inventory?.sn ?? 'N/A'}
- MAC : ${dataShowVersion?.MAC_ADDRESS ?? ''}
- IOS : ${dataShowVersion?.SOFTWARE_IMAGE ?? ''}
- License : ${ + Model: ${this.config?.inventory?.pid ?? 'N/A'}
+ Serial Number: ${this.config?.inventory?.sn ?? 'N/A'}
+ MAC: ${dataShowVersion?.MAC_ADDRESS ?? ''}
+ IOS: ${dataShowVersion?.SOFTWARE_IMAGE ?? ''}
+ License: ${ dataShowLic ? dataShowLic ?.filter((el) => el.LICENSE_TYPE === 'Permanent') @@ -1726,13 +1726,13 @@ ${log} ?.join(', ') : '' }
- Summary : ${this.config?.latestScenario?.detectAI?.summary || ''}
- Issue : ${issue?.length ? `
- ` + issue.join(`
- `) : 'No issues detected.'}

+ Summary: ${this.config?.latestScenario?.detectAI?.summary || ''}
+ Issue: ${issue?.length ? `
- ` + issue.join(`
- `) : 'No issues detected.'}

- Total Ports : ${portPhysical?.length}
- Ports Tested (UP) : ${portPhysical.filter((p) => p.tested).length}
- Ports Missing : ${portPhysical.filter((p) => !p.tested).length}
+ Total Ports: ${portPhysical?.length}
+ Ports Tested (UP): ${portPhysical.filter((p) => p.tested).length}
+ Ports Missing: ${portPhysical.filter((p) => !p.tested).length}
` diff --git a/BACKEND/app/services/physical_test_service.ts b/BACKEND/app/services/physical_test_service.ts index ac351d0..bae1870 100644 --- a/BACKEND/app/services/physical_test_service.ts +++ b/BACKEND/app/services/physical_test_service.ts @@ -169,14 +169,14 @@ export class PhysicalPortTest {
- Model : ${report.device.model ?? 'N/A'}
- Serial Number : ${report.device.serial ?? 'N/A'}
- Status : ${status === 'PASS' ? '✅ PASS' : '⚠️ WARNING'}
+ Model: ${report.device.model ?? 'N/A'}
+ Serial Number: ${report.device.serial ?? 'N/A'}
+ Status: ${status === 'PASS' ? '✅ PASS' : '⚠️ WARNING'}
- Total Ports : ${report.ports.length}
- Ports Tested (UP) : ${tested.length}
- Ports Missing : ${missing.length}
+ Total Ports: ${report.ports.length}
+ Ports Tested (UP): ${tested.length}
+ Ports Missing: ${missing.length}
diff --git a/BACKEND/providers/socket_io_provider.ts b/BACKEND/providers/socket_io_provider.ts index 0f7ace0..11079c7 100644 --- a/BACKEND/providers/socket_io_provider.ts +++ b/BACKEND/providers/socket_io_provider.ts @@ -1119,6 +1119,7 @@ export class WebSocketIo { userEmailOpenCLI: '', userOpenCLI: '', openCLI: false, + listFeatureTested: [''], }, } as LineConnection) }