Skip to content

Commit 67b806c

Browse files
authored
Merge pull request #79359 from Juliako/patch-87
Update media-services-copying-existing-blob.md
2 parents ff27fef + 9256248 commit 67b806c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/media-services/previous/media-services-copying-existing-blob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ namespace CopyExistingBlobsIntoAsset
307307
// set the .ism file to be the primary file.
308308
// If we, for example, copied an .mp4, then the mp4 would be the primary file.
309309
var ismAssetFile = asset.AssetFiles.ToList().
310-
Where(f => f.Name.EndsWith(".ism", StringComparison.OrdinalIgnoreCase)).ToArray().FirstOrDefault();
310+
Where(f => f.Name.EndsWith(".ism", StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
311311

312312
// The following code assigns the first .ism file as the primary file in the asset.
313313
// An asset should have one .ism file.

0 commit comments

Comments
 (0)