]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/videos.js
Add authentications for routes that need it and adapts the tests
[github/Chocobozzz/PeerTube.git] / server / models / videos.js
index 0141cbb7fe25963c8bb0fa2a3dfa819c59fecd6b..13ef2295a6276e1e40e599d076fc3c3f030ea5a5 100644 (file)
@@ -21,7 +21,8 @@ const videosSchema = mongoose.Schema({
   namePath: String,
   description: String,
   magnetUri: String,
-  podUrl: String
+  podUrl: String,
+  author: String
 })
 const VideosDB = mongoose.model('videos', videosSchema)