File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,12 @@ func main() {
108108 fmt .Println ("get-asset-or-livestream-id OK ✅" )
109109
110110 // ========== create-asset-static-rendition ==========
111- // Currently fails due to bug in the API :(
112- // srr := muxgo.CreateStaticRenditionRequest{Resolution: "highest"}
113- // sr, err := client.AssetsApi.CreateAssetStaticRendition(asset.Data.Id, srr)
114- // common.AssertNoError(err)
115- // common.AssertNotNil(sr.Data)
116- // common.AssertStringEqualsValue(sr.Data.Resolution, "highest")
117- // fmt.Println("create-asset-static-rendition OK ✅")
111+ srr := muxgo.CreateStaticRenditionRequest {Resolution : "highest" }
112+ sr , err := client .AssetsApi .CreateAssetStaticRendition (asset .Data .Id , srr )
113+ common .AssertNoError (err )
114+ common .AssertNotNil (sr .Data )
115+ common .AssertStringEqualsValue (sr .Data .Resolution , "highest" )
116+ fmt .Println ("create-asset-static-rendition OK ✅" )
118117
119118 // ========== update-asset-master-access ==========
120119 mr := muxgo.UpdateAssetMasterAccessRequest {MasterAccess : "temporary" }
You can’t perform that action at this time.
0 commit comments