Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import by.jprof.telegram.bot.currencies.parser.MonetaryAmountParser
import by.jprof.telegram.bot.currencies.parser.MonetaryAmountParsingPipeline
import by.jprof.telegram.bot.currencies.parser.PLN
import by.jprof.telegram.bot.currencies.parser.UZS
import by.jprof.telegram.bot.currencies.parser.BYN
import by.jprof.telegram.bot.currencies.rates.ExchangeRateClient
import org.koin.core.qualifier.named
import org.koin.dsl.module
Expand All @@ -19,6 +20,7 @@ val currenciesModule = module {
single<MonetaryAmountParser>(named("GEL")) { GEL() }
single<MonetaryAmountParser>(named("UZS")) { UZS() }
single<MonetaryAmountParser>(named("GBP")) { GBP() }
single<MonetaryAmountParser>(named("BYN")) { BYN() }

single {
MonetaryAmountParsingPipeline(
Expand Down