Fix typo to fix upload list
This commit is contained in:
@@ -102,7 +102,7 @@ public class UploadService {
|
||||
try {
|
||||
Stream<Path> stream2 = Files.list(p)
|
||||
.filter(p2 -> !p2.getFileName().toString().equals(".key"));
|
||||
filePathOptional = stream.findFirst();
|
||||
filePathOptional = stream2.findFirst();
|
||||
stream2.close();
|
||||
if (filePathOptional.isPresent()) {
|
||||
uploadedFile.name = filePathOptional.get().getFileName().toString();
|
||||
|
||||
Reference in New Issue
Block a user