Fix content-type for captions

This commit is contained in:
Omar Roth 2019-05-20 20:22:01 -05:00
parent 1eaa377583
commit 8b50c8515f
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
2 changed files with 17 additions and 9 deletions

View file

@ -825,17 +825,17 @@ struct Video
end
struct Caption
JSON.mapping(
name: CaptionName,
baseUrl: String,
languageCode: String
)
json_mapping({
name: CaptionName,
baseUrl: String,
languageCode: String,
})
end
struct CaptionName
JSON.mapping(
json_mapping({
simpleText: String,
)
})
end
class VideoRedirect < Exception