diff options
Diffstat (limited to 'server/models/author.ts')
-rw-r--r-- | server/models/author.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/author.ts b/server/models/author.ts index 3264d3a88..e0fb250f9 100644 --- a/server/models/author.ts +++ b/server/models/author.ts | |||
@@ -14,7 +14,7 @@ import { | |||
14 | let Author: Sequelize.Model<AuthorInstance, AuthorAttributes> | 14 | let Author: Sequelize.Model<AuthorInstance, AuthorAttributes> |
15 | let findOrCreateAuthor: AuthorMethods.FindOrCreateAuthor | 15 | let findOrCreateAuthor: AuthorMethods.FindOrCreateAuthor |
16 | 16 | ||
17 | export default function defineAuthor (sequelize: Sequelize.Sequelize, DataTypes) { | 17 | export default function defineAuthor (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
18 | Author = sequelize.define<AuthorInstance, AuthorAttributes>('Author', | 18 | Author = sequelize.define<AuthorInstance, AuthorAttributes>('Author', |
19 | { | 19 | { |
20 | name: { | 20 | name: { |