Modifier la fonction getPathList pour utiliser orderId au lieu de id lors de la récupération des chemins
This commit is contained in:
@@ -18,6 +18,10 @@ function getSmileImage() {
|
||||
return path.join(__dirname, '../sample/smile.png');
|
||||
}
|
||||
|
||||
function getCatVideo() {
|
||||
return path.join(__dirname, '../sample/cat.mp4');
|
||||
}
|
||||
|
||||
// //test de lancement d'une création de vidéo sur le projet 1
|
||||
// // videoManager.createVideo(1).then(res => {
|
||||
// // console.log('3 - Video created:', res);
|
||||
@@ -48,4 +52,5 @@ videoManager.createVideoWithList(1, pathList).then(res => {
|
||||
console.error('Error:', err);
|
||||
});
|
||||
|
||||
exports.getSmileImage = getSmileImage;
|
||||
exports.getSmileImage = getSmileImage;
|
||||
exports.getCatVideo = getCatVideo;
|
||||
Reference in New Issue
Block a user