Fix content-type for captions

This commit is contained in:
Omar Roth
2019-05-20 20:22:01 -05:00
parent 1eaa377583
commit 8b50c8515f
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