SUPPORT-8771:fix
This commit is contained in:
parent
eb555fdcb7
commit
59ad00fab4
1 changed files with 1 additions and 2 deletions
|
|
@ -23,8 +23,7 @@ public class FileScanController {
|
|||
}
|
||||
|
||||
@PostMapping("/scan-file")
|
||||
public ResponseEntity<?> scanFile(@RequestPart("file") MultipartFile file,
|
||||
@RequestParam(value = "wait", required = false, defaultValue = "0") long wait) {
|
||||
public ResponseEntity<?> scanFile(@RequestPart("file") MultipartFile file) {
|
||||
if (file.isEmpty()) {
|
||||
return ResponseEntity.badRequest().build();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue