keep id parameter for recursive calls

This commit is contained in:
Petri Asikainen 2021-10-18 20:50:47 +03:00
parent b90e1a94ea
commit 10e87b48cc

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"