From 9a68f8c5df6d6e09861971e387c1fb5144c934b3 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 27 Oct 2023 23:28:00 +0200 Subject: [PATCH] fix Get-GitHubRepositoryTeam --- ...itHubRepositoryTeams.ps1 => Get-GitHubRepositoryTeam.ps1} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename src/GitHub/public/Repositories/Repositories/{Get-GitHubRepositoryTeams.ps1 => Get-GitHubRepositoryTeam.ps1} (92%) diff --git a/src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeams.ps1 b/src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeam.ps1 similarity index 92% rename from src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeams.ps1 rename to src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeam.ps1 index 571553ca..9b65bfcf 100644 --- a/src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeams.ps1 +++ b/src/GitHub/public/Repositories/Repositories/Get-GitHubRepositoryTeam.ps1 @@ -1,4 +1,4 @@ -filter Get-GitHubRepositoryTeams { +filter Get-GitHubRepositoryTeam { <# .SYNOPSIS List repository teams @@ -15,7 +15,7 @@ This endpoint is not compatible with fine-grained personal access tokens. .EXAMPLE - Get-GitHubRepositoryTeams -Owner 'PSModule' -Repo 'GitHub' + Get-GitHubRepositoryTeam -Owner 'PSModule' -Repo 'GitHub' Lists the teams that have access to the specified repository and that are also visible to the authenticated user. @@ -24,6 +24,7 @@ #> [CmdletBinding()] + [Alias('Get-GitHubRepositoryTeams')] param ( # The account owner of the repository. The name is not case sensitive. [Parameter()]