Fixed comments params order

This commit is contained in:
Adina Țeudan 2021-06-28 22:08:21 +03:00
parent 88314fba2e
commit e750b954cd

View File

@ -30,19 +30,19 @@ export class ManualAnnotationService {
addComment(comment: string, annotationId: string) {
return this._manualRedactionControllerService.addComment(
{ text: comment },
annotationId,
this._appStateService.activeDossierId,
this._appStateService.activeFileId,
annotationId
this._appStateService.activeFileId
);
}
// this wraps /manualRedaction/comment/undo
deleteComment(commentId: string, annotationId: string) {
return this._manualRedactionControllerService.undoComment(
this._appStateService.activeDossierId,
this._appStateService.activeFileId,
annotationId,
commentId
commentId,
this._appStateService.activeDossierId,
this._appStateService.activeFileId
);
}