update REST demo to fix function name

Fix the function name to follow Verb-SingularNoun naming convention.
This commit is contained in:
Aleksandar Nikolić authored and GitHub committed 2016-08-30 00:37:35 +02:00
1 parent 6342448bb9
commit 151c45cbb5
1 file changed
+2 -2
+2 -2
View File
@@ -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