Skip to content

Commit 69fb760

Browse files
committed
Fix bug
1 parent e07b23a commit 69fb760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/Videos/New-Video.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function New-Video {
9999
}
100100

101101
if ($PSBoundParameters.ContainsKey('InputReference')) {
102-
$FileInfo = Resolve-FileInfo $InputReference[0]
102+
$FileInfo = Resolve-FileInfo $InputReference
103103
$PostBody.input_reference = $FileInfo
104104
}
105105
#endregion

0 commit comments

Comments
 (0)