Skip to content

Commit

Permalink
fix(app): Fix the fetch epics for real this time (#6761)
Browse files Browse the repository at this point in the history
I don't know why our typechecking or testing machinery can't catch this
but it sure can't.

It definitely works now though.
  • Loading branch information
sfoster1 authored Oct 14, 2020
1 parent c25da74 commit 0df6dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const fetchPipetteOffsetCalibrationsOnCalibrationEndEpic: Epic = (
([action, state, robotName, sessionId]) =>
robotName != null && sessionIncursRefetch(state, robotName, sessionId)
),
map(robotName => {
map(([_action, _state, robotName, _sessionId]) => {
return Actions.fetchPipetteOffsetCalibrations(robotName)
})
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const fetchTipLengthCalibrationsOnCalibrationEndEpic: Epic = (
([action, state, robotName, sessionId]) =>
robotName != null && sessionIncursRefetch(state, robotName, sessionId)
),
map(([_action, robotName]) => {
map(([_action, _state, robotName, _sessionId]) => {
return Actions.fetchTipLengthCalibrations(robotName)
})
)
Expand Down

0 comments on commit 0df6dc5

Please sign in to comment.