rename to historyId

This commit is contained in:
Andrei Vereha 2021-05-01 18:43:11 +02:00
parent c759e651c5
commit 912c847dcb

View file

@ -468,12 +468,12 @@ class OmnipodDashPumpPlugin @Inject constructor(
}
private fun executeProgrammingCommand(
historyEntry: Single<String>,
historyId: Single<String>,
command: Observable<PodEvent>
): PumpEnactResult {
return Single.create<PumpEnactResult> { source ->
Observable.concat(
historyEntry.flatMapObservable { recordId ->
historyId.flatMapObservable { recordId ->
podStateManager.createActiveCommand(recordId).toObservable()
},
command,