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( private fun executeProgrammingCommand(
historyEntry: Single<String>, historyId: Single<String>,
command: Observable<PodEvent> command: Observable<PodEvent>
): PumpEnactResult { ): PumpEnactResult {
return Single.create<PumpEnactResult> { source -> return Single.create<PumpEnactResult> { source ->
Observable.concat( Observable.concat(
historyEntry.flatMapObservable { recordId -> historyId.flatMapObservable { recordId ->
podStateManager.createActiveCommand(recordId).toObservable() podStateManager.createActiveCommand(recordId).toObservable()
}, },
command, command,