Skip to content

Commit 55bd578

Browse files
committed
Fix save issue and remove unneeded code
1 parent cc72820 commit 55bd578

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

SnipeitPS/Public/Get-Category.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Get-Category -url "https://assets.example.com" -token "token..." | Where-Object
1919
function Get-Category()
2020
{
2121
Param(
22+
[string]$search,
23+
2224
[parameter(mandatory=$true)]
2325
[string]$url,
2426

SnipeitPS/Public/Set-User.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ function Set-User() {
116116

117117
$Body = $Values | ConvertTo-Json;
118118

119-
$Body
120119
$Parameters = @{
121120
Uri = "$url/api/v1/users/$id"
122121
Method = 'PATCH'

0 commit comments

Comments
 (0)