Remove debug logging from SickController and useModal for cleaner code
This commit is contained in:
@@ -46,8 +46,6 @@ class SickController {
|
||||
const userId = req.user?.id || 1;
|
||||
const { sickTypeId, startDate, endDate } = req.body;
|
||||
|
||||
console.log('DEBUG createSickEntry:', { sickTypeId, startDate, endDate, body: req.body });
|
||||
|
||||
if (!sickTypeId || !startDate) {
|
||||
return res.status(400).json({
|
||||
message: 'Krankheitstyp und Startdatum sind erforderlich'
|
||||
|
||||
Reference in New Issue
Block a user