 
     entry["price"] = totalPrice?.floatValue
     return entry
-    
   }
   
 }

      "mode": mode,
      "duration": duration(includingContinuation: true)
    ]
    
  }
  
}


    
  }
  
  public static func reportProgress(for trip: Trip, locations: [CLLocation]) {
    guard
      let urlString = trip.progressURLString,
      let url = URL(string: urlString) else { return }
    
    let samples = locations.map(\.progressDict)
    let paras = [
      "samples": samples
    ]
