Update TGBeta.ps1
This commit is contained in:
@@ -1538,14 +1538,14 @@ try {
|
||||
$response.StatusCode = 404
|
||||
$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()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user