diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/leaderboard/SlackMessageService.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/leaderboard/SlackMessageService.java index e3823997..2142b103 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/leaderboard/SlackMessageService.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/leaderboard/SlackMessageService.java @@ -41,7 +41,7 @@ public class SlackMessageService { private static final Logger logger = LoggerFactory.getLogger(SlackMessageService.class); - @Value("${hephaestus.leaderboard.notification.channelId}") + @Value("${hephaestus.leaderboard.notification.channel-id}") private String channelId; @Value("${hephaestus.leaderboard.notification.enabled}") diff --git a/server/application-server/src/main/resources/application-prod.yml b/server/application-server/src/main/resources/application-prod.yml index c824bdb7..be9eaadc 100644 --- a/server/application-server/src/main/resources/application-prod.yml +++ b/server/application-server/src/main/resources/application-prod.yml @@ -21,7 +21,7 @@ hephaestus: time: ${LEADERBOARD_SCHEDULE_TIME:9} notification: enabled: ${LEADERBOARD_NOTIFICATION_ENABLED:true} - channelId: ${LEADERBOARD_NOTIFICATION_CHANNEL_ID:G6TCVL6HL} + channel-id: ${LEADERBOARD_NOTIFICATION_CHANNEL_ID:G6TCVL6HL} nats: enabled: ${NATS_ENABLED:false} diff --git a/server/application-server/src/main/resources/application.yml b/server/application-server/src/main/resources/application.yml index d1b0f8a9..2dc51f1a 100644 --- a/server/application-server/src/main/resources/application.yml +++ b/server/application-server/src/main/resources/application.yml @@ -39,7 +39,7 @@ hephaestus: time: "9:00" notification: enabled: false - channelId: "" + channel-id: "" nats: