From 0962da2eee13ba3de8f49652d4a1d3efe8aa0ad2 Mon Sep 17 00:00:00 2001 From: paradizelost Date: Tue, 15 Dec 2020 02:01:54 -0600 Subject: [PATCH] Update teedy.ps1 --- teedy.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teedy.ps1 b/teedy.ps1 index 2e419d9..672f1c0 100644 --- a/teedy.ps1 +++ b/teedy.ps1 @@ -53,7 +53,7 @@ Invoke-RestMethod -uri "$siteurl/api/document" -Headers $headers -Method PUT -bo Invoke-RestMethod -uri "$siteurl/api/document" -Headers $headers -Method PUT -form $doctocreate -$logoutresponse = Invoke-webrequest -Uri "https://$siteurl/api/user/logout" -Headers $headers -Method POST +$logoutresponse = Invoke-webrequest -Uri "$siteurl/api/user/logout" -Headers $headers -Method POST if($logoutresponse.BaseResponse.StatusCode -eq 200){ write-host "logged out successfully" }