Pull request #202: RED-3239: Fixed wrong parameter name in ImportedAnnotationController
Merge in RED/persistence-service from RED-3243-3 to master * commit 'c553c376436c29afc5340893c65b85fee712f296': RED-3239: Fixed wrong parameter name in ImportedAnnotationController
This commit is contained in:
commit
fdcf58aa3e
@ -41,7 +41,7 @@ public class ImportedAnnotationController implements ImportedAnnotationResource
|
||||
|
||||
@Override
|
||||
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) {
|
||||
|
||||
importedAnnotationPersistenceService.updateStatus(fileId, annotationId, updateImportedAnnotationStatusRequest.getStatus(), updateImportedAnnotationStatusRequest.getComment(), updateImportedAnnotationStatusRequest.getUser());
|
||||
@ -50,7 +50,7 @@ public class ImportedAnnotationController implements ImportedAnnotationResource
|
||||
|
||||
@Override
|
||||
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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user