diff options
Diffstat (limited to 'client/src/app/shared/shared-main/video/video.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index b7720c8d2..7471a933b 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -100,7 +100,7 @@ export class Video implements VideoServerModel { | |||
100 | return '/videos/update/' + video.uuid | 100 | return '/videos/update/' + video.uuid |
101 | } | 101 | } |
102 | 102 | ||
103 | constructor (hash: VideoServerModel, translations = {}) { | 103 | constructor (hash: VideoServerModel, translations: { [ id: string ]: string } = {}) { |
104 | const absoluteAPIUrl = getAbsoluteAPIUrl() | 104 | const absoluteAPIUrl = getAbsoluteAPIUrl() |
105 | 105 | ||
106 | this.createdAt = new Date(hash.createdAt.toString()) | 106 | this.createdAt = new Date(hash.createdAt.toString()) |