Fix save issue and remove unneeded code

This commit is contained in:
Stephen Maunder 2018-03-29 13:56:01 +01:00
parent cc72820bde
commit 55bd578ef7
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,8 @@ Get-Category -url "https://assets.example.com" -token "token..." | Where-Object
function Get-Category()
{
Param(
[string]$search,
[parameter(mandatory=$true)]
[string]$url,

View file

@ -116,7 +116,6 @@ function Set-User() {
$Body = $Values | ConvertTo-Json;
$Body
$Parameters = @{
Uri = "$url/api/v1/users/$id"
Method = 'PATCH'