Workout Time Scheduling
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user