diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-25 10:45:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-25 10:45:40 +0200 |
commit | 4f50475c67356fb1fecd1de6d2551fdc5ad9a739 (patch) | |
tree | 1650e080d1db83d1fee69e5970ca9ee2f488d470 /server/models | |
parent | d65cd16551449216f23d68a6238f7739bab34644 (diff) | |
download | PeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.tar.gz PeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.tar.zst PeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.zip |
Display latest uploaded date for captions
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-caption.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video/video-caption.ts b/server/models/video/video-caption.ts index 6b240f116..5fbcd6e3b 100644 --- a/server/models/video/video-caption.ts +++ b/server/models/video/video-caption.ts | |||
@@ -195,7 +195,8 @@ export class VideoCaptionModel extends Model<Partial<AttributesOnly<VideoCaption | |||
195 | id: this.language, | 195 | id: this.language, |
196 | label: VideoCaptionModel.getLanguageLabel(this.language) | 196 | label: VideoCaptionModel.getLanguageLabel(this.language) |
197 | }, | 197 | }, |
198 | captionPath: this.getCaptionStaticPath() | 198 | captionPath: this.getCaptionStaticPath(), |
199 | updatedAt: this.updatedAt.toISOString() | ||
199 | } | 200 | } |
200 | } | 201 | } |
201 | 202 | ||