diff options
Diffstat (limited to 'server/models/video/tag.ts')
-rw-r--r-- | server/models/video/tag.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/tag.ts b/server/models/video/tag.ts index d0d8353d7..2992da56d 100644 --- a/server/models/video/tag.ts +++ b/server/models/video/tag.ts | |||
@@ -54,7 +54,7 @@ function associate (models) { | |||
54 | findOrCreateTags = function (tags: string[], transaction: Sequelize.Transaction) { | 54 | findOrCreateTags = function (tags: string[], transaction: Sequelize.Transaction) { |
55 | const tasks: Promise<TagInstance>[] = [] | 55 | const tasks: Promise<TagInstance>[] = [] |
56 | tags.forEach(tag => { | 56 | tags.forEach(tag => { |
57 | const query: any = { | 57 | const query: Sequelize.FindOrInitializeOptions<TagAttributes> = { |
58 | where: { | 58 | where: { |
59 | name: tag | 59 | name: tag |
60 | }, | 60 | }, |