implemented suggestions, extended CMPs with series

This commit is contained in:
FlyinPancake 2024-01-12 21:45:03 +01:00
parent 12c6a1baa0
commit 3b531144cf
No known key found for this signature in database
6 changed files with 33 additions and 28 deletions

View file

@ -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'