diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index a4d4c42f0..78789ba2c 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1010,7 +1010,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1010 | let language | 1010 | let language |
1011 | if (this.language) { | 1011 | if (this.language) { |
1012 | language = { | 1012 | language = { |
1013 | id: this.language + '', | 1013 | identifier: this.language + '', |
1014 | name: VideoModel.getLanguageLabel(this.language) | 1014 | name: VideoModel.getLanguageLabel(this.language) |
1015 | } | 1015 | } |
1016 | } | 1016 | } |