fix: update history count
This commit is contained in:
@@ -1391,7 +1391,11 @@ func (h *ApplicationHandler) calculateSolidarityTransportPricing(ctx context.Con
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
history = history + len(solidarity.Bookings)
|
||||
for _, booking := range solidarity.Bookings {
|
||||
if booking.Status == "VALIDATED" || booking.Status == "WAITING_CONFIRMATION" {
|
||||
history++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var passengerGeo pricing.GeographyParams
|
||||
|
||||
Reference in New Issue
Block a user