Skip to content

Commit

Permalink
Merge pull request #87 from RADAR-base/fix-MPClientFactory
Browse files Browse the repository at this point in the history
Fix mp client factory
  • Loading branch information
Bdegraaf1234 authored Jun 27, 2024
2 parents a01e996 + 3547d3f commit 987fa4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {

allprojects {
group = "org.radarbase"
version = "0.9.3"
version = "0.9.4"
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MPClientFactory(
) : Supplier<MPClient> {
override fun get(): MPClient = MPClient(
serverConfig = MPClient.MPServerConfig(
url = requireNotNull(authConfig.managementPortal.httpUrl) { "ManagementPortal client needs a URL" }.toString(),
url = requireNotNull(authConfig.managementPortal.url) { "ManagementPortal client needs a URL" }.toString(),
clientId = requireNotNull(authConfig.managementPortal.clientId) { "ManagementPortal client needs a client ID" },
clientSecret = requireNotNull(authConfig.managementPortal.clientSecret) { "ManagementPortal client needs a client secret" },
),
Expand Down

0 comments on commit 987fa4d

Please sign in to comment.