aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/author.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-11 17:35:32 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-11 17:35:32 +0200
commit127944aacb52721877449a1f202dc0add866ef39 (patch)
tree73ac935c7dfc73dca92d15ed52266e40ba9af57a /server/models/author.ts
parent294f80f21e8a77d25f6fb5f0f26887fb4618ee2e (diff)
downloadPeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.gz
PeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.zst
PeerTube-127944aacb52721877449a1f202dc0add866ef39.zip
Better models define typing
Diffstat (limited to 'server/models/author.ts')
-rw-r--r--server/models/author.ts2
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 {
14let Author: Sequelize.Model<AuthorInstance, AuthorAttributes> 14let Author: Sequelize.Model<AuthorInstance, AuthorAttributes>
15let findOrCreateAuthor: AuthorMethods.FindOrCreateAuthor 15let findOrCreateAuthor: AuthorMethods.FindOrCreateAuthor
16 16
17export default function defineAuthor (sequelize: Sequelize.Sequelize, DataTypes) { 17export 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: {