Fix video record after delete?
This commit is contained in:
@@ -144,6 +144,8 @@ public class DeletionService {
|
||||
ksVideo.setIngestionStatus("LOADED");
|
||||
Date now = new Date();
|
||||
ksVideo.setIngestionDate(now);
|
||||
ksVideo.setChunked(false);
|
||||
ksVideo.setVideoChunks(List.of());
|
||||
|
||||
ksVideoRepository.save(ksVideo);
|
||||
logger.info("KSVideo with id {} deleted from VectorStore successfully.", deletionRequest.getKsDocumentId());
|
||||
|
||||
Reference in New Issue
Block a user