Workout Time Scheduling

This commit is contained in:
mr
2026-03-20 14:20:26 +01:00
parent 5619010838
commit 478e68e6d4
4 changed files with 19 additions and 39 deletions

View File

@@ -84,8 +84,7 @@ func (abs *PricedResource[T]) GetLocationEnd() *time.Time {
func (abs *PricedResource[T]) GetLocationStart() *time.Time {
if abs.BookingConfiguration == nil {
now := time.Now().Add(2 * time.Minute)
return &now
return nil
}
return abs.BookingConfiguration.UsageStart
}