Attempting to fix black magic

This commit is contained in:
bskjon 2025-02-23 03:12:00 +01:00
parent 58d5fbc1e3
commit b02b0ce05b

View File

@ -57,6 +57,7 @@ class ApiCommunicationConfig {
fun coordinatorTemplate(): RestTemplate {
return try {
val url = UIEnv.coordinatorUrl
log.info { "CoordinatorUrl: $url" }
require(url.isNotBlank()) { "UIEnv.coordinatorUrl er ikke satt!" }
val restTemplate = RestTemplate()