diff options
Diffstat (limited to 'server/models/video/thumbnail.ts')
-rw-r--r-- | server/models/video/thumbnail.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/thumbnail.ts b/server/models/video/thumbnail.ts index b69bc0872..e396784d2 100644 --- a/server/models/video/thumbnail.ts +++ b/server/models/video/thumbnail.ts | |||
@@ -92,7 +92,7 @@ export class ThumbnailModel extends Model<ThumbnailModel> { | |||
92 | @UpdatedAt | 92 | @UpdatedAt |
93 | updatedAt: Date | 93 | updatedAt: Date |
94 | 94 | ||
95 | private static types: { [ id in ThumbnailType ]: { label: string, directory: string, staticPath: string } } = { | 95 | private static readonly types: { [ id in ThumbnailType ]: { label: string, directory: string, staticPath: string } } = { |
96 | [ThumbnailType.MINIATURE]: { | 96 | [ThumbnailType.MINIATURE]: { |
97 | label: 'miniature', | 97 | label: 'miniature', |
98 | directory: CONFIG.STORAGE.THUMBNAILS_DIR, | 98 | directory: CONFIG.STORAGE.THUMBNAILS_DIR, |