mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-25 02:09:14 +02:00
implemented suggestions, extended CMPs with series
This commit is contained in:
parent
12c6a1baa0
commit
3b531144cf
6 changed files with 33 additions and 28 deletions
|
@ -26,13 +26,7 @@ class CustomMetadataProvider extends Model {
|
|||
}
|
||||
}
|
||||
|
||||
static findByPk(id) {
|
||||
return this.findOne({
|
||||
where: {
|
||||
id,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initialize model
|
||||
|
@ -47,7 +41,7 @@ class CustomMetadataProvider extends Model {
|
|||
},
|
||||
name: DataTypes.STRING,
|
||||
url: DataTypes.STRING,
|
||||
apiKey: DataTypes.STRING
|
||||
apiKey: DataTypes.STRING,
|
||||
}, {
|
||||
sequelize,
|
||||
modelName: 'customMetadataProvider'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue