dt-common-device 8.0.6 → 8.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -764,7 +764,7 @@ let IssueService = (() => {
|
|
|
764
764
|
const updatedIssue = await this.updateIssue(issue.id, updateData);
|
|
765
765
|
if (updatedIssue) {
|
|
766
766
|
// Log the action for audit purposes
|
|
767
|
-
console.log(`Issue ${issue.id} has been ${action}ed by ${updatedBy}`);
|
|
767
|
+
//console.log(`Issue ${issue.id} has been ${action}ed by ${updatedBy}`);
|
|
768
768
|
await dt_pub_sub_1.eventDispatcher.publishEvent(auditType, updatedIssue, "dt-common-device");
|
|
769
769
|
await (0, audit_1.pushAudit)({
|
|
770
770
|
auditType: auditType,
|
|
@@ -837,8 +837,8 @@ let IssueService = (() => {
|
|
|
837
837
|
const responseTime = this.calculateAverageResponseTime(stats);
|
|
838
838
|
const resolutionRate = this.calculateResolutionRate(stats);
|
|
839
839
|
// Log resolution rate for monitoring
|
|
840
|
-
console.log(`Resolution rate: ${resolutionRate.toFixed(2)}%`);
|
|
841
|
-
console.log(`Response time: ${responseTime.toFixed(2)} days`);
|
|
840
|
+
// console.log(`Resolution rate: ${resolutionRate.toFixed(2)}%`);
|
|
841
|
+
// console.log(`Response time: ${responseTime.toFixed(2)} days`);
|
|
842
842
|
// Business logic: Add alerts for critical metrics
|
|
843
843
|
if (stats.overdue > 0) {
|
|
844
844
|
console.warn(`Alert: ${stats.overdue} overdue issues detected`);
|