From a0365aed434789d30bda1346301f72556fa7a522 Mon Sep 17 00:00:00 2001 From: pierre-maraval Date: Fri, 12 Jul 2024 10:02:23 +0200 Subject: [PATCH] FIX : Appel doi avec uppercase --- src/main/java/fr/abes/bestppn/service/WsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/abes/bestppn/service/WsService.java b/src/main/java/fr/abes/bestppn/service/WsService.java index 75ac369..85b8c43 100644 --- a/src/main/java/fr/abes/bestppn/service/WsService.java +++ b/src/main/java/fr/abes/bestppn/service/WsService.java @@ -159,7 +159,7 @@ public ResultWsSudocDto callDat2Ppn(String date, String author, String title, St public ResultWsSudocDto callDoi2Ppn(String doi, @Nullable String provider) throws JsonProcessingException, IllegalDoiException { Map params = new HashMap<>(); - params.put("doi", doi); + params.put("doi", doi.toUpperCase()); params.put("provider", provider); ResultWsSudocDto result; try {