diff options
Diffstat (limited to 'server/models/video.ts')
-rw-r--r-- | server/models/video.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video.ts b/server/models/video.ts index 2234664f4..78119f516 100644 --- a/server/models/video.ts +++ b/server/models/video.ts | |||
@@ -68,8 +68,8 @@ let loadAndPopulateAuthor: VideoMethods.LoadAndPopulateAuthor | |||
68 | let loadAndPopulateAuthorAndPodAndTags: VideoMethods.LoadAndPopulateAuthorAndPodAndTags | 68 | let loadAndPopulateAuthorAndPodAndTags: VideoMethods.LoadAndPopulateAuthorAndPodAndTags |
69 | let searchAndPopulateAuthorAndPodAndTags: VideoMethods.SearchAndPopulateAuthorAndPodAndTags | 69 | let searchAndPopulateAuthorAndPodAndTags: VideoMethods.SearchAndPopulateAuthorAndPodAndTags |
70 | 70 | ||
71 | export default function (sequelize, DataTypes) { | 71 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
72 | Video = sequelize.define('Video', | 72 | Video = sequelize.define<VideoInstance, VideoAttributes>('Video', |
73 | { | 73 | { |
74 | id: { | 74 | id: { |
75 | type: DataTypes.UUID, | 75 | type: DataTypes.UUID, |