SUPPORT-8771:fix
This commit is contained in:
parent
9311fc6b9e
commit
ed4437054e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ public class FileScanController {
|
|||
this.fileScanService = fileScanService;
|
||||
}
|
||||
|
||||
@PostMapping()
|
||||
@PostMapping("/scan-file")
|
||||
public ResponseEntity<?> scanFile(@RequestParam("file") MultipartFile file) {
|
||||
if (file.isEmpty()) {
|
||||
return ResponseEntity.badRequest().build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue