From 39d4c22217c3cb3e7f6bcc9ab1308a245e47096c Mon Sep 17 00:00:00 2001 From: paradizelost Date: Thu, 17 Dec 2020 02:27:38 -0600 Subject: [PATCH] Update teedy.ps1 --- teedy.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/teedy.ps1 b/teedy.ps1 index d6a80a3..ea06474 100644 --- a/teedy.ps1 +++ b/teedy.ps1 @@ -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' } }