Merged PR 128: Fixed path

Fixed path
This commit is contained in:
2025-05-14 13:07:13 +00:00

View File

@@ -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);