Update to Koa 2

This commit is contained in:
Jonathan Cremin 2018-04-13 21:44:31 +01:00
parent 42b6cd5a32
commit 87459b2acc
15 changed files with 467 additions and 419 deletions

View file

@ -27,7 +27,7 @@ export default function (sequelize, DataTypes) {
},
});
Album.associate = function (models) {
Album.associate = function associate(models) {
Album.hasMany(models.match);
Album.belongsTo(models.artist);
};