mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
changed role handling, employee name handling and availibilitie handling with shift.id
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user