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

[fix] fix JsonAttributeParser

parent 4d8d43f6
No related branches found
No related tags found
No related merge requests found
...@@ -439,8 +439,8 @@ public class SubscriptionService extends AbstractService { ...@@ -439,8 +439,8 @@ public class SubscriptionService extends AbstractService {
try { try {
String json = getObjectMapper().writeValueAsString(record); String json = getObjectMapper().writeValueAsString(record);
if (cleanHashAndSignature) { if (cleanHashAndSignature) {
json = JacksonUtils.removeAttribute(json, Record.PROPERTY_SIGNATURE); json = PARSER_SIGNATURE.removeFromJson(json);
json = JacksonUtils.removeAttribute(json, Record.PROPERTY_HASH); json = PARSER_HASH.removeFromJson(json);
} }
return json; return json;
} catch(JsonProcessingException e) { } catch(JsonProcessingException e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment