diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 10:59:13 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 10:59:13 +0200 |
commit | e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d (patch) | |
tree | c50bf2ba57d54d2f87f51c29ad981da8c5660994 /server/models/video/tag.ts | |
parent | 33c4972d5b54155540267f4c9c9ee55c539b8385 (diff) | |
download | PeerTube-e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d.tar.gz PeerTube-e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d.tar.zst PeerTube-e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d.zip |
Remove any typing from server
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 | }, |