Skip to content

Commit

Permalink
Change configuration to not resolve to dash and use dot instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 14, 2023
1 parent 05fcf7d commit bf2db11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.faforever.userservice.config

import io.smallrye.config.ConfigMapping
import io.smallrye.config.WithName
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
import java.net.URI
Expand Down Expand Up @@ -45,6 +46,7 @@ interface FafProperties {
fun irc(): Irc

interface Irc {
@WithName("fixed.users")
fun fixedUsers(): Map<String, String>

interface UserCredentials
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ quarkus:
faf:
environment: ${FAF_ENVIRONMENT:dev}
irc:
fixed-users:
test-user: banana
fixed:
users:
test-user: banana

mp:
jwt:
Expand Down

0 comments on commit bf2db11

Please sign in to comment.