Fixed bug

This commit is contained in:
Luca Frosini 2021-04-09 23:40:05 +02:00
parent 0ccbd7e17a
commit 3d51af6027
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ public class RecordManagement {
AccountingPersistenceQuery accountingPersistenceQuery = AccountingPersistenceQueryFactory.getInstance();
Record record = accountingPersistenceQuery.getRecord(recordId, type);
return Response.status(Status.OK).entity(record).type(AccountingResource.APPLICATION_JSON_CHARSET_UTF_8).build();
String ret = DSMapper.marshal(record);
return Response.status(Status.OK).entity(ret).type(AccountingResource.APPLICATION_JSON_CHARSET_UTF_8).build();
}