RED-7317: set DictionaryEntryType to ENTRY by default
This commit is contained in:
parent
b63fc5adb2
commit
73afa0f349
@ -169,6 +169,7 @@ public class ManualRedactionController implements ManualRedactionResource {
|
||||
.message("Manual redaction was added.")
|
||||
.details(Map.of(DOSSIER_ID, dossierId, FILE_ID, fileId, ANNOTATION_ID, response.getAnnotationId()))
|
||||
.build()));
|
||||
|
||||
return responseList;
|
||||
}
|
||||
|
||||
|
||||
@ -45,7 +45,8 @@ public class AddRedactionRequestModel {
|
||||
private boolean rectangle;
|
||||
|
||||
private String sourceId;
|
||||
|
||||
private DictionaryEntryType dictionaryEntryType;
|
||||
|
||||
@Builder.Default
|
||||
private DictionaryEntryType dictionaryEntryType = DictionaryEntryType.ENTRY;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user