From 8b6933434e0ab5a5fb414a34fc52759047aab7e7 Mon Sep 17 00:00:00 2001 From: Waldemar Tsiamruk Date: Wed, 8 Jun 2022 14:36:59 +0200 Subject: [PATCH] Register BYN --- .../by/jprof/telegram/bot/runners/lambda/config/currencies.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config/currencies.kt b/runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config/currencies.kt index 98d4fa30..3bce6919 100644 --- a/runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config/currencies.kt +++ b/runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config/currencies.kt @@ -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 @@ -19,6 +20,7 @@ val currenciesModule = module { single(named("GEL")) { GEL() } single(named("UZS")) { UZS() } single(named("GBP")) { GBP() } + single(named("BYN")) { BYN() } single { MonetaryAmountParsingPipeline(