mirror of
https://github.com/paradizelost/Powershell-Public.git
synced 2024-11-25 02:04:43 -06:00
Update teedy.ps1
This commit is contained in:
parent
f5d6832323
commit
39d4c22217
@ -140,7 +140,6 @@ function Attach-File(){
|
|||||||
fileID=$file;
|
fileID=$file;
|
||||||
id=$document
|
id=$document
|
||||||
}
|
}
|
||||||
$toattach
|
|
||||||
Invoke-RestMethod -uri "$siteurl/api/file/$file/attach" -Headers $headers -Method POST -Body $toattach -ContentType 'application/x-www-form-urlencoded'
|
Invoke-RestMethod -uri "$siteurl/api/file/$file/attach" -Headers $headers -Method POST -Body $toattach -ContentType 'application/x-www-form-urlencoded'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user