@runnerpro/backend 1.12.5 → 1.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -352,8 +352,7 @@ const getVideoDuration = (videoPath) => __awaiter(void 0, void 0, void 0, functi
|
|
|
352
352
|
if (!duration || isNaN(duration)) {
|
|
353
353
|
throw new Error('No se pudo obtener la duración del video');
|
|
354
354
|
}
|
|
355
|
-
const durationInSeconds = parseFloat(duration);
|
|
356
|
-
console.log(`Duración del video: ${durationInSeconds} segundos`);
|
|
355
|
+
const durationInSeconds = Math.round(parseFloat(duration));
|
|
357
356
|
resolve(durationInSeconds);
|
|
358
357
|
}
|
|
359
358
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAoBpD,CAAC;
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAoBpD,CAAC;AA+XF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|