We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279eb6a commit 0c984caCopy full SHA for 0c984ca
models/Video.js
@@ -19,7 +19,7 @@ const VideoSchema = new mongoose.Schema({
19
type: String,
20
},
21
],
22
- imageScripts: [
+ imagePrompts: [
23
{
24
25
routes/video-content.js
@@ -1,8 +1,12 @@
1
const express = require("express");
2
-const { createVideoContent } = require("../controllers/video-content");
+const {
3
+ createVideoContent,
4
+ getVideoContentByID,
5
+} = require("../controllers/video-content");
6
7
const router = express.Router();
8
9
router.route("/create-video-content").post(createVideoContent);
10
+router.route("/get-video-content/:videoID").get(getVideoContentByID);
11
12
module.exports = router;
0 commit comments