diff --git a/demos/rest/rest.ps1 b/demos/rest/rest.ps1 index 4800b360df..59bea0ce0d 100644 --- a/demos/rest/rest.ps1 +++ b/demos/rest/rest.ps1 @@ -1,7 +1,7 @@  #----------------- -function Get-Issues +function Get-Issue { param([string]$UserName, [string]$Repo, @@ -28,7 +28,7 @@ function Get-Issues } } -$issues = Get-Issues -UserName lzybkr -Repo PSReadline +$issues = Get-Issue -UserName lzybkr -Repo PSReadline $issues.Count @@ -40,4 +40,4 @@ foreach ($issue in $issues) { "{0} is a vi mode bug" -f $issue.url } -} \ No newline at end of file +}