diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-19 12:36:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-19 14:20:04 +0100 |
commit | 5d00a3d7aa4309f1da5ac7d6e3ed63181eb34952 (patch) | |
tree | 924c46daaac9ef56108d8c449f934b6de344ae72 /server/models/video/video.ts | |
parent | 09700934b90e2ac7b1b9ed1694d9d4d52735e2e1 (diff) | |
download | PeerTube-5d00a3d7aa4309f1da5ac7d6e3ed63181eb34952.tar.gz PeerTube-5d00a3d7aa4309f1da5ac7d6e3ed63181eb34952.tar.zst PeerTube-5d00a3d7aa4309f1da5ac7d6e3ed63181eb34952.zip |
Update the api documentation
Diffstat (limited to 'server/models/video/video.ts')
-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 | } |