Merge pull request #236 from snazy2000/develop

Fixed #234 , keep id parameter for recursive calls
This commit is contained in:
Petri Asikainen 2021-10-18 20:55:00 +03:00 committed by GitHub
commit d224f97d73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ function Get-SnipeitLicenseSeat() {
begin {
Test-SnipeitAlias -invocationName $MyInvocation.InvocationName -commandName $MyInvocation.MyCommand.Name
$SearchParameter = . Get-ParameterValue -Parameters $MyInvocation.MyCommand.Parameters -BoundParameters $PSBoundParameters
$SearchParameter = . Get-ParameterValue -Parameters $MyInvocation.MyCommand.Parameters -BoundParameters $PSBoundParameters -DefaultExcludeParameter 'url', 'apiKey', 'Debug', 'Verbose','RequestType'
$api = "/api/v1/licenses/$id/seats"