changed role handling, employee name handling and availibilitie handling with shift.id

This commit is contained in:
2025-10-20 01:22:38 +02:00
parent 37f75727cc
commit 9393de5239
12 changed files with 497 additions and 442 deletions

View File

@@ -39,7 +39,7 @@ router.post('/generate-schedule', async (req, res) => {
assignments: Object.keys(result.assignments).length,
violations: result.violations.length
});
res.json(result);
} catch (error) {
console.error('Scheduling failed:', error);