Patch for old records
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153087 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5abbf6c4c3
commit
c31b08b5b4
|
@ -117,7 +117,9 @@ public class Aggregator {
|
|||
int originalRecordsCounter = 0;
|
||||
for (ViewRow row : viewResult) {
|
||||
try {
|
||||
String record = row.document().content().toString();
|
||||
JsonObject content = row.document().content();
|
||||
|
||||
String record = content.toString();
|
||||
|
||||
record = record.replace("usageRecordType", "recordType");
|
||||
|
||||
|
|
Loading…
Reference in New Issue