Skip to content
Snippets Groups Projects
Commit 0a481aec authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Fix user/profile indexation : always use issuer pubkey as document id

parent 7ed45c90
Branches
Tags
No related merge requests found
......@@ -119,6 +119,7 @@ public class UserService extends AbstractService {
IndexResponse response = client.prepareIndex(INDEX, PROFILE_TYPE)
.setSource(profileJson)
.setId(issuer) // always use the issuer pubkey as id
.setRefresh(false)
.execute().actionGet();
return response.getId();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment