RED-3239: Fixed wrong parameter name in ImportedAnnotationController
This commit is contained in:
parent
5c5220c450
commit
c553c37643
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user