Skip to content

Commit 1167c97

Browse files
authored
Merge pull request #36 from JavaBy/register-BYN
Register BYN
2 parents 97c3b8f + 8b69334 commit 1167c97

File tree

1 file changed

+2
-0
lines changed
  • runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config

1 file changed

+2
-0
lines changed

runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config/currencies.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import by.jprof.telegram.bot.currencies.parser.MonetaryAmountParser
88
import by.jprof.telegram.bot.currencies.parser.MonetaryAmountParsingPipeline
99
import by.jprof.telegram.bot.currencies.parser.PLN
1010
import by.jprof.telegram.bot.currencies.parser.UZS
11+
import by.jprof.telegram.bot.currencies.parser.BYN
1112
import by.jprof.telegram.bot.currencies.rates.ExchangeRateClient
1213
import org.koin.core.qualifier.named
1314
import org.koin.dsl.module
@@ -19,6 +20,7 @@ val currenciesModule = module {
1920
single<MonetaryAmountParser>(named("GEL")) { GEL() }
2021
single<MonetaryAmountParser>(named("UZS")) { UZS() }
2122
single<MonetaryAmountParser>(named("GBP")) { GBP() }
23+
single<MonetaryAmountParser>(named("BYN")) { BYN() }
2224

2325
single {
2426
MonetaryAmountParsingPipeline(

0 commit comments

Comments
 (0)