Remove debug logging from unhashRequest middleware, TimeEntryService, and StatusBox component to clean up code and improve performance. This update enhances readability and maintains functionality without unnecessary console outputs.

This commit is contained in:
Torsten Schulz (local)
2025-10-20 11:28:06 +02:00
parent 0bcdec68ef
commit d99aa96270
3 changed files with 0 additions and 14 deletions

View File

@@ -16,9 +16,7 @@ const unhashRequestIds = (req, res, next) => {
// Route-Parameter verarbeiten
if (req.params && typeof req.params === 'object') {
console.log('DEBUG unhashRequest: req.params before =', req.params);
req.params = unhashRequestData(req.params);
console.log('DEBUG unhashRequest: req.params after =', req.params);
}
next();

View File

@@ -472,8 +472,6 @@ class TimeEntryService {
const newOpenM = openMinutes % 60;
const newOpenS = openS;
console.log(`🔍 DEBUG Offen-Berechnung: Original=${open}, Fehlende Pausen=${missingBreakMinutes}min, Neu=${newOpenH}:${newOpenM.toString().padStart(2, '0')}:${newOpenS.toString().padStart(2, '0')}`);
open = `${newOpenH.toString().padStart(2, '0')}:${newOpenM.toString().padStart(2, '0')}:${newOpenS.toString().padStart(2, '0')}`;
}