mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-20 13:53:19 +01: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