rename to historyId
This commit is contained in:
parent
c759e651c5
commit
912c847dcb
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue