Started work on implementing user playlists
This commit is contained in:
parent
e629c63b2c
commit
aefc2dc1bd
7 changed files with 228 additions and 33 deletions
|
|
@ -556,7 +556,6 @@ channelSchema.methods.getPlaylists = function(){
|
|||
const playlists = [];
|
||||
|
||||
//For each channel emote
|
||||
//this.media.playlists.forEach((playlist) => {
|
||||
for(let playlist of this.media.playlists){
|
||||
//Push an object with select information from the emote to the emote list
|
||||
playlists.push(playlist.dehydrate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue