mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 09:52:30 +00:00
Fixed brackets
This commit is contained in:
parent
bb53a87cf4
commit
ea04619706
1 changed files with 3 additions and 3 deletions
|
|
@ -49,15 +49,15 @@ function New-Category()
|
|||
$Values = . Get-ParameterValue
|
||||
|
||||
if ($use_default_eula) {
|
||||
$Values += @("use_default_eula" = "true")
|
||||
$Values += @{"use_default_eula" = "true"}
|
||||
}
|
||||
|
||||
if ($require_acceptance) {
|
||||
$Values += @("require_acceptance" = "true")
|
||||
$Values += @{"require_acceptance" = "true"}
|
||||
}
|
||||
|
||||
if ($checkin_email) {
|
||||
$Values += @("checkin_email" = "true")
|
||||
$Values += @{"checkin_email" = "true"}
|
||||
}
|
||||
|
||||
$Body = $Values | ConvertTo-Json;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue