Fixed path
This commit is contained in:
@@ -31,7 +31,7 @@ public class VideoController {
|
||||
@Autowired
|
||||
private KSVideoRepository ksVideoRepository;
|
||||
|
||||
private String document_path="/mnt/apollo_storage/documents";
|
||||
private String document_path="/mnt/apollo_storage/videos";
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(VideoController.class);
|
||||
|
||||
@@ -67,7 +67,7 @@ public class VideoController {
|
||||
ksVideo.setFileName(file.getOriginalFilename());
|
||||
ksVideo.setName(file.getOriginalFilename());
|
||||
ksVideo.setDescription(videoUploadDTO.getDescription());
|
||||
ksVideo.setIngestionStatus("INGESTIONo_QUEUE");
|
||||
ksVideo.setIngestionStatus("INGESTION_QUEUE");
|
||||
|
||||
Date now = new Date();
|
||||
ksVideo.setIngestionDate(now);
|
||||
|
||||
Reference in New Issue
Block a user