diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-24 16:13:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-24 16:13:38 +0200 |
commit | de97d62109c5ab668982908a8060d1c07150216e (patch) | |
tree | e1823e8eaa11a9e98dd50da057b6cc6ca53c4a5d /server/models | |
parent | 97816649b793bdd0f3df64631ae0ef7cf3d7461c (diff) | |
download | PeerTube-de97d62109c5ab668982908a8060d1c07150216e.tar.gz PeerTube-de97d62109c5ab668982908a8060d1c07150216e.tar.zst PeerTube-de97d62109c5ab668982908a8060d1c07150216e.zip |
Remove debug logs
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 1eded0d56..334d768c9 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1749,8 +1749,6 @@ export class VideoModel extends Model<VideoModel> { | |||
1749 | const { baseUrlHttp, baseUrlWs } = this.getBaseUrls() | 1749 | const { baseUrlHttp, baseUrlWs } = this.getBaseUrls() |
1750 | let files: MVideoFileRedundanciesOpt[] = [] | 1750 | let files: MVideoFileRedundanciesOpt[] = [] |
1751 | 1751 | ||
1752 | logger.info('coucou', { files }) | ||
1753 | |||
1754 | if (Array.isArray(this.VideoFiles)) { | 1752 | if (Array.isArray(this.VideoFiles)) { |
1755 | files = files.concat(this.VideoFiles) | 1753 | files = files.concat(this.VideoFiles) |
1756 | } | 1754 | } |
@@ -1759,8 +1757,6 @@ export class VideoModel extends Model<VideoModel> { | |||
1759 | files = files.concat(p.VideoFiles || []) | 1757 | files = files.concat(p.VideoFiles || []) |
1760 | } | 1758 | } |
1761 | 1759 | ||
1762 | logger.info('coucou', { files, video: this.VideoStreamingPlaylists }) | ||
1763 | |||
1764 | return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files) | 1760 | return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files) |
1765 | } | 1761 | } |
1766 | 1762 | ||