Created Playlist Media Schema.
This commit is contained in:
parent
cb09c139c7
commit
59f097db39
4 changed files with 66 additions and 4 deletions
|
|
@ -45,6 +45,7 @@ const queuedProperties = new mongoose.Schema({
|
|||
});
|
||||
|
||||
//methods
|
||||
//Rehydrate to a full phat queued media object
|
||||
queuedProperties.methods.rehydrate = function(){
|
||||
return new queuedMedia(
|
||||
this.title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue