RED-7317: Endpoint to change entity types of dict-based annotations

* fix test
This commit is contained in:
Kilian Schuettler 2023-08-30 16:52:07 +02:00
parent be915430b1
commit 7fcb52c90f

View File

@ -151,7 +151,8 @@ public class ManualRedactionMapper {
.addToAllDossiers(recategorizationRequest.isAddToAllDossiers()) .addToAllDossiers(recategorizationRequest.isAddToAllDossiers())
.dictionaryEntryType(getDictionaryEntryType(redactionLogEntry)) .dictionaryEntryType(getDictionaryEntryType(redactionLogEntry))
.value(redactionLogEntry.getValue()) .value(redactionLogEntry.getValue())
.dossierTemplateTypeId(toTypeId(redactionLogEntry.getType(), dossierTemplateId)) .type(recategorizationRequest.getType())
.dossierTemplateTypeId(toTypeId(recategorizationRequest.getType(), dossierTemplateId))
.build(); .build();
requests.add(build); requests.add(build);
} }