Update teedy.ps1

This commit is contained in:
paradizelost 2020-12-17 02:27:38 -06:00 committed by GitHub
parent f5d6832323
commit 39d4c22217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,6 @@ function Attach-File(){
fileID=$file;
id=$document
}
$toattach
Invoke-RestMethod -uri "$siteurl/api/file/$file/attach" -Headers $headers -Method POST -Body $toattach -ContentType 'application/x-www-form-urlencoded'
}
}