Rename id to name in the configuration

This commit is contained in:
Ehren Kret
2021-09-15 17:30:05 -05:00
parent 39f6eadbb9
commit ce3835e176
4 changed files with 8 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ public class ConfiguredProfileBadgeConverter implements ProfileBadgeConverter {
final ResourceBundleFactory resourceBundleFactory) {
this.clock = clock;
this.knownBadges = badgesConfiguration.getBadges().stream()
.collect(Collectors.toMap(BadgeConfiguration::getName, Function.identity()));
.collect(Collectors.toMap(BadgeConfiguration::getId, Function.identity()));
this.resourceBundleFactory = resourceBundleFactory;
}