mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-16 09:40:56 +03:00
Fixed bug where playlistd could not be made
This commit is contained in:
@@ -285,7 +285,7 @@ exports.adminExists = function() {
|
||||
|
||||
exports.getUserVideos = function(user_uid, type) {
|
||||
const user = users_db.get('users').find({uid: user_uid}).value();
|
||||
return type ? user['files'].filter(file => file.isAudio = (type === 'audio')) : user['files'];
|
||||
return type ? user['files'].filter(file => file.isAudio === (type === 'audio')) : user['files'];
|
||||
}
|
||||
|
||||
exports.getUserVideo = function(user_uid, file_uid, requireSharing = false) {
|
||||
|
||||
Reference in New Issue
Block a user