diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 1e4bdf51c..b3ca1e668 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -52,7 +52,7 @@ let getThumbnailName: VideoMethods.GetThumbnailName | |||
52 | let getPreviewName: VideoMethods.GetPreviewName | 52 | let getPreviewName: VideoMethods.GetPreviewName |
53 | let getTorrentFileName: VideoMethods.GetTorrentFileName | 53 | let getTorrentFileName: VideoMethods.GetTorrentFileName |
54 | let isOwned: VideoMethods.IsOwned | 54 | let isOwned: VideoMethods.IsOwned |
55 | let toFormatedJSON: VideoMethods.ToFormatedJSON | 55 | let toFormattedJSON: VideoMethods.ToFormattedJSON |
56 | let toAddRemoteJSON: VideoMethods.ToAddRemoteJSON | 56 | let toAddRemoteJSON: VideoMethods.ToAddRemoteJSON |
57 | let toUpdateRemoteJSON: VideoMethods.ToUpdateRemoteJSON | 57 | let toUpdateRemoteJSON: VideoMethods.ToUpdateRemoteJSON |
58 | let transcodeVideofile: VideoMethods.TranscodeVideofile | 58 | let transcodeVideofile: VideoMethods.TranscodeVideofile |
@@ -257,7 +257,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da | |||
257 | removeThumbnail, | 257 | removeThumbnail, |
258 | removeTorrent, | 258 | removeTorrent, |
259 | toAddRemoteJSON, | 259 | toAddRemoteJSON, |
260 | toFormatedJSON, | 260 | toFormattedJSON, |
261 | toUpdateRemoteJSON, | 261 | toUpdateRemoteJSON, |
262 | transcodeVideofile | 262 | transcodeVideofile |
263 | ] | 263 | ] |
@@ -414,7 +414,7 @@ generateMagnetUri = function (this: VideoInstance, videoFile: VideoFileInstance) | |||
414 | return magnetUtil.encode(magnetHash) | 414 | return magnetUtil.encode(magnetHash) |
415 | } | 415 | } |
416 | 416 | ||
417 | toFormatedJSON = function (this: VideoInstance) { | 417 | toFormattedJSON = function (this: VideoInstance) { |
418 | let podHost | 418 | let podHost |
419 | 419 | ||
420 | if (this.Author.Pod) { | 420 | if (this.Author.Pod) { |