mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-09 07:14:52 +02:00
implemented suggestions, extended CMPs with series
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user