Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
djoksimo committed May 4, 2024
1 parent 0b3bc20 commit c349921
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ internal class PosRefundPaymentRepository(
else -> return response
}
val payment = when (val response = paymentService.getPayment(paymentRef)) {
is ForageApiResponse.Success ->
Payment.ModelMapper.from(response.data)
is ForageApiResponse.Success -> Payment.ModelMapper.from(response.data)
else -> return response
}
val paymentMethod = when (val response = paymentMethodService.getPaymentMethod(payment.paymentMethodRef)) {
Expand Down

0 comments on commit c349921

Please sign in to comment.