diff --git a/gg-agenda-api/src/main/java/gg/agenda/api/user/ticket/service/TicketService.java b/gg-agenda-api/src/main/java/gg/agenda/api/user/ticket/service/TicketService.java index 3601c3b1b..8ef66e6a1 100644 --- a/gg-agenda-api/src/main/java/gg/agenda/api/user/ticket/service/TicketService.java +++ b/gg-agenda-api/src/main/java/gg/agenda/api/user/ticket/service/TicketService.java @@ -48,7 +48,7 @@ public class TicketService { private final AgendaProfileService agendaProfileService; private final AgendaProfileRepository agendaProfileRepository; - @Value("${info.web.pointHistoryUrl}") + @Value("https://api.intra.42.fr/v2/users/{id}/correction_point_historics?sort=-id") private String pointHistoryUrl; private static final String selfDonation = "Provided points to the pool"; diff --git a/gg-pingpong-api/src/main/java/gg/pingpong/api/global/security/service/CustomOAuth2UserService.java b/gg-pingpong-api/src/main/java/gg/pingpong/api/global/security/service/CustomOAuth2UserService.java index 349fc5ec5..f183934de 100644 --- a/gg-pingpong-api/src/main/java/gg/pingpong/api/global/security/service/CustomOAuth2UserService.java +++ b/gg-pingpong-api/src/main/java/gg/pingpong/api/global/security/service/CustomOAuth2UserService.java @@ -60,7 +60,7 @@ public class CustomOAuth2UserService extends DefaultOAuth2UserService { @Value("${info.image.defaultUrl}") private String defaultImageUrl; - @Value("${info.web.coalitionUrl}") + @Value("https://api.intra.42.fr/v2/users/{id}/coalitions") private String coalitionUrl; @Override