Fix typo in Author model

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2019-11-23 22:12:41 +01:00 committed by Sheogorath
parent f6eec0ce90
commit f0b1d85ae9
No known key found for this signature in database
GPG key ID: C9B1C80737B9CE18

View file

@ -1,8 +1,7 @@
// external modules
import {DataTypes} from 'sequelize';
function createAutorModel(sequelize) {
function createAuthorModel(sequelize) {
const Author = sequelize.define('Author', {
id: {
type: DataTypes.INTEGER,
@ -41,4 +40,4 @@ function createAutorModel(sequelize) {
return Author
}
export = createAutorModel
export = createAuthorModel