RED-3239: Fixed wrong parameter name in ImportedAnnotationController

This commit is contained in:
deiflaender 2022-01-27 13:43:52 +01:00
parent 5c5220c450
commit c553c37643

View File

@ -41,7 +41,7 @@ public class ImportedAnnotationController implements ImportedAnnotationResource
@Override @Override
public void updateStatus(@PathVariable(FILE_ID_PARAM) String fileId, public void updateStatus(@PathVariable(FILE_ID_PARAM) String fileId,
@PathVariable(ANNOTATION_ID_PATH_PARAM) String annotationId, @PathVariable(ANNOTATION_ID_PARAM) String annotationId,
@RequestBody UpdateImportedAnnotationStatusRequest updateImportedAnnotationStatusRequest) { @RequestBody UpdateImportedAnnotationStatusRequest updateImportedAnnotationStatusRequest) {
importedAnnotationPersistenceService.updateStatus(fileId, annotationId, updateImportedAnnotationStatusRequest.getStatus(), updateImportedAnnotationStatusRequest.getComment(), updateImportedAnnotationStatusRequest.getUser()); importedAnnotationPersistenceService.updateStatus(fileId, annotationId, updateImportedAnnotationStatusRequest.getStatus(), updateImportedAnnotationStatusRequest.getComment(), updateImportedAnnotationStatusRequest.getUser());
@ -50,7 +50,7 @@ public class ImportedAnnotationController implements ImportedAnnotationResource
@Override @Override
public void delete(@PathVariable(FILE_ID_PARAM) String fileId, public void delete(@PathVariable(FILE_ID_PARAM) String fileId,
@PathVariable(ANNOTATION_ID_PATH_PARAM) String annotationId) { @PathVariable(ANNOTATION_ID_PARAM) String annotationId) {
importedAnnotationPersistenceService.delete(fileId, annotationId); importedAnnotationPersistenceService.delete(fileId, annotationId);
} }