diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/youtube-dl/youtube-dl-info-builder.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/youtube-dl/youtube-dl-info-builder.ts b/server/helpers/youtube-dl/youtube-dl-info-builder.ts index 303e4051f..a74904e43 100644 --- a/server/helpers/youtube-dl/youtube-dl-info-builder.ts +++ b/server/helpers/youtube-dl/youtube-dl-info-builder.ts | |||
@@ -12,7 +12,7 @@ type YoutubeDLInfo = { | |||
12 | tags?: string[] | 12 | tags?: string[] |
13 | thumbnailUrl?: string | 13 | thumbnailUrl?: string |
14 | ext?: string | 14 | ext?: string |
15 | originallyPublishedAt?: Date | 15 | originallyPublishedAtWithoutTime?: Date |
16 | webpageUrl?: string | 16 | webpageUrl?: string |
17 | 17 | ||
18 | urls?: string[] | 18 | urls?: string[] |
@@ -81,7 +81,7 @@ class YoutubeDLInfoBuilder { | |||
81 | tags: this.getTags(obj.tags), | 81 | tags: this.getTags(obj.tags), |
82 | thumbnailUrl: obj.thumbnail || undefined, | 82 | thumbnailUrl: obj.thumbnail || undefined, |
83 | urls: this.buildAvailableUrl(obj), | 83 | urls: this.buildAvailableUrl(obj), |
84 | originallyPublishedAt: this.buildOriginallyPublishedAt(obj), | 84 | originallyPublishedAtWithoutTime: this.buildOriginallyPublishedAt(obj), |
85 | ext: obj.ext, | 85 | ext: obj.ext, |
86 | webpageUrl: obj.webpage_url | 86 | webpageUrl: obj.webpage_url |
87 | } | 87 | } |