RED-4344: Fixed suggest accept recommendation

This commit is contained in:
Adina Țeudan 2022-06-23 18:25:19 +03:00
parent dea5d71fbd
commit 4df925d902

View File

@ -67,8 +67,8 @@ export class ManualRedactionService extends GenericService<IManualAddResponse> {
const recommendations: List<IAddRedactionRequest> = annotations.map(annotation => ({
addToDictionary: true,
sourceId: annotation.annotationId,
reason: 'False Positive',
value: annotation.value,
reason: annotation.legalBasis,
positions: annotation.positions,
type: annotation.recommendationType,
comment,