Skip to content

Commit 3598c71

Browse files
authored
Resolve symbol related issue in OTC profile
1 parent b0d6f4c commit 3598c71

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wallet/wallet-ports/wallet-persister-postgres/src/main/kotlin/co/nilin/opex/wallet/ports/postgres/service/QuoteCurrencyInitializer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ import kotlinx.coroutines.launch
88
import kotlinx.coroutines.reactive.awaitFirstOrNull
99
import org.slf4j.LoggerFactory
1010
import org.springframework.beans.factory.annotation.Value
11+
import org.springframework.context.annotation.Profile
1112
import org.springframework.stereotype.Service
1213
import java.time.LocalDateTime
1314
import javax.annotation.PostConstruct
1415

1516
@Service
17+
@Profile("!otc")
1618
class QuoteCurrencyInitializer(
1719
private val quoteCurrencyRepository: QuoteCurrencyRepository,
1820
@Value("\${app.symbols}")

0 commit comments

Comments
 (0)