diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 56c382a..b6d3205 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -1543,14 +1543,14 @@ try { $responseString = "Task not found." } } - } + # Send the response $buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString) $response.ContentType = "text/plain" $response.ContentLength64 = $buffer.Length $response.OutputStream.Write($buffer, 0, $buffer.Length) $response.OutputStream.Close() - + }