Skip to content

Modular logistics and supply chain operating system (LSOS)

fix: use start_at/end_at in schedule-exception model to match backend schema

Ronald A Richardsona83f1f70798a
diff --git a/console/app/models/schedule-exception.js b/console/app/models/schedule-exception.js
index c28dd640..7abdf81f 100644
--- a/console/app/models/schedule-exception.js
+++ b/console/app/models/schedule-exception.js
@@ -23,8 +23,8 @@ export default class ScheduleExceptionModel extends Model {
/** @attributes */
@attr('string', { defaultValue: 'time_off' }) type;
@attr('string', { defaultValue: 'pending' }) status;
- @attr('date') start_date;
- @attr('date') end_date;
+ @attr('date') start_at;
+ @attr('date') end_at;
@attr('string') reason;
@attr('string') notes;
@attr('string') rejection_reason;