This commit is contained in:
KaseToatz1337
2024-04-26 14:22:46 +02:00
parent ce58078280
commit 7c1c442363
2 changed files with 3 additions and 3 deletions

View File

@ -52,8 +52,8 @@ window.onload = () => {
body: formData
})
response = await request.json();
text.innerText = response.message;
if (response.type == "error")
text.innerText = response["message"];
if (response["type"] == "error")
{
text.style.color = "red";
}