mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-02 19:11:48 +02:00
Fix find all playlist endpoint
This commit is contained in:
@@ -23,15 +23,6 @@ class PlaylistMediaItem extends Model {
|
||||
this.mediaItem
|
||||
}
|
||||
|
||||
static removeByIds(playlistId, mediaItemId) {
|
||||
return this.destroy({
|
||||
where: {
|
||||
playlistId,
|
||||
mediaItemId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
getMediaItem(options) {
|
||||
if (!this.mediaItemType) return Promise.resolve(null)
|
||||
const mixinMethodName = `get${this.sequelize.uppercaseFirst(this.mediaItemType)}`
|
||||
|
||||
Reference in New Issue
Block a user