update dictionary before preview
This commit is contained in:
parent
9da4342939
commit
b42dd58824
@ -161,8 +161,9 @@ public class RedactionController implements RedactionResource {
|
|||||||
public RedactionLog getRedactionLogPreview(RedactionRequest redactionRequest) {
|
public RedactionLog getRedactionLogPreview(RedactionRequest redactionRequest) {
|
||||||
|
|
||||||
log.info("Requested preview for: {}", redactionRequest);
|
log.info("Requested preview for: {}", redactionRequest);
|
||||||
var redactionLog = redactionStorageService.getRedactionLog(redactionRequest.getDossierId(), redactionRequest.getFileId());
|
dictionaryService.updateDictionary(redactionRequest.getDossierTemplateId(), redactionRequest.getDossierId());
|
||||||
|
|
||||||
|
var redactionLog = redactionStorageService.getRedactionLog(redactionRequest.getDossierId(), redactionRequest.getFileId());
|
||||||
return redactionLogCreatorService.getRedactionLogPreview(redactionLog, redactionRequest.getDossierTemplateId(), redactionRequest.getManualRedactions());
|
return redactionLogCreatorService.getRedactionLogPreview(redactionLog, redactionRequest.getDossierTemplateId(), redactionRequest.getManualRedactions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user