aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 16:31:24 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 16:31:24 +0100
commit53abc4c272be9ecc951274458d054dbaf86e594d (patch)
tree5d69eca59cf3b51c95ecad190f8cdb058ab9e3f7 /server/models/video
parent604e02abcba0a50be23f243db30eca94b68cd35f (diff)
downloadPeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.tar.gz
PeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.tar.zst
PeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.zip
Upgrade server packages
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 2c1bd6b6e..02dde1726 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1,12 +1,11 @@
1import * as safeBuffer from 'safe-buffer' 1import * as safeBuffer from 'safe-buffer'
2const Buffer = safeBuffer.Buffer 2const Buffer = safeBuffer.Buffer
3import * as magnetUtil from 'magnet-uri' 3import * as magnetUtil from 'magnet-uri'
4import { map } from 'lodash' 4import { map, maxBy, truncate } from 'lodash'
5import * as parseTorrent from 'parse-torrent' 5import * as parseTorrent from 'parse-torrent'
6import { join } from 'path' 6import { join } from 'path'
7import * as Sequelize from 'sequelize' 7import * as Sequelize from 'sequelize'
8import * as Promise from 'bluebird' 8import * as Promise from 'bluebird'
9import { maxBy, truncate } from 'lodash'
10 9
11import { TagInstance } from './tag-interface' 10import { TagInstance } from './tag-interface'
12import { 11import {