Skip to content

Commit

Permalink
identity as default onSuccessFnc
Browse files Browse the repository at this point in the history
  • Loading branch information
salamonpavel committed Aug 26, 2024
1 parent 8abcddc commit 33f29e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ class CheckpointControllerImpl(checkpointService: CheckpointService) extends Che
): IO[ErrorResponse, SingleSuccessResponse[CheckpointV2DTO]] = {
mapToSingleSuccessResponse(
serviceCall[CheckpointV2DTO, CheckpointV2DTO](
checkpointService.getCheckpointV2(partitioningId, checkpointId),
identity
checkpointService.getCheckpointV2(partitioningId, checkpointId)
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class FlowControllerImpl(flowService: FlowService) extends FlowController with B
): IO[ErrorResponse, MultiSuccessResponse[CheckpointDTO]] = {
mapToMultiSuccessResponse(
serviceCall[Seq[CheckpointDTO], Seq[CheckpointDTO]](
flowService.getFlowCheckpoints(checkpointQueryDTO),
identity
flowService.getFlowCheckpoints(checkpointQueryDTO)
)
)
}
Expand Down

0 comments on commit 33f29e5

Please sign in to comment.