Skip to content

Commit 07af030

Browse files
committed
refactor: 파일명 수정
1 parent 3d00bfc commit 07af030

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/editController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { HTTP_STATUS, MESSAGES } from "../config/constants.js";
2-
import env from "../config/env.js";
32
import trimVideo from "../services/trimVideo.js";
43
import { saveVideoToGcs } from "../services/videoService.js";
54
import { publishToQueue } from "../utils/rabbitmqService.js";
@@ -14,7 +13,7 @@ const editController = async (req, res, next) => {
1413
trimEnd,
1514
email,
1615
});
17-
const outputFileName = `${env.EDITED_PREFIX}/${email}${Date.now()}`;
16+
const outputFileName = `${email}${Date.now()}`;
1817

1918
await saveVideoToGcs(trimedStream, outputFileName);
2019

0 commit comments

Comments
 (0)