Skip to content

Commit

Permalink
remove flow from impl
Browse files Browse the repository at this point in the history
  • Loading branch information
itsPronay committed Jan 28, 2025
1 parent f20adfc commit 728521f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ import javax.inject.Inject
*/
class LoanAccountSummaryRepositoryImp @Inject constructor(
private val dataManagerLoan: DataManagerLoan,
@Dispatcher(MifosDispatchers.IO)
private val ioDispatcher: CoroutineDispatcher,
) : LoanAccountSummaryRepository {

override fun getLoanById(loanId: Int): Flow<LoanWithAssociations?> {
return dataManagerLoan.getLoanById(loanId)
.flowOn(ioDispatcher)
}
}

0 comments on commit 728521f

Please sign in to comment.