aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-file.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-21 14:50:55 +0200
committerChocobozzz <me@florianbigard.com>2019-10-21 15:03:28 +0200
commitd5d9b6d7bfb7e9426b6462f7fdf285df39eea820 (patch)
treeaa21a16be3df94b5c6fd264d1090ed9ac7c94a79 /server/models/video/video-file.ts
parentf6e0de3f48993b2c0ef9bd2c24d2d7443acc6ace (diff)
downloadPeerTube-d5d9b6d7bfb7e9426b6462f7fdf285df39eea820.tar.gz
PeerTube-d5d9b6d7bfb7e9426b6462f7fdf285df39eea820.tar.zst
PeerTube-d5d9b6d7bfb7e9426b6462f7fdf285df39eea820.zip
Update server dependencies
Diffstat (limited to 'server/models/video/video-file.ts')
-rw-r--r--server/models/video/video-file.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts
index 6304f741c..68e2d562a 100644
--- a/server/models/video/video-file.ts
+++ b/server/models/video/video-file.ts
@@ -99,7 +99,7 @@ export class VideoFileModel extends Model<VideoFileModel> {
99 static doesInfohashExist (infoHash: string) { 99 static doesInfohashExist (infoHash: string) {
100 const query = 'SELECT 1 FROM "videoFile" WHERE "infoHash" = $infoHash LIMIT 1' 100 const query = 'SELECT 1 FROM "videoFile" WHERE "infoHash" = $infoHash LIMIT 1'
101 const options = { 101 const options = {
102 type: QueryTypes.SELECT, 102 type: QueryTypes.SELECT as QueryTypes.SELECT,
103 bind: { infoHash }, 103 bind: { infoHash },
104 raw: true 104 raw: true
105 } 105 }