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

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