diff --git a/duniter4j-es-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java b/duniter4j-es-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java index ed587e26ca195c26d93171f295efc11a45a3343a..cc25ccf0f53cbc86e971a54da6a00d2631beca78 100644 --- a/duniter4j-es-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java +++ b/duniter4j-es-user/src/main/java/org/duniter/elasticsearch/user/service/UserService.java @@ -139,7 +139,7 @@ public class UserService extends AbstractService { * Update an user profile * @param profileJson */ - public ListenableActionFuture<UpdateResponse> updateProfileFromJson(String profileJson, String id) { + public ListenableActionFuture<UpdateResponse> updateProfileFromJson(String id, String profileJson) { JsonNode actualObj = readAndVerifyIssuerSignature(profileJson); String issuer = getIssuer(actualObj);