slightly change blahs format (maybe final)
All checks were successful
Server Build / publish (push) Successful in 28s
Voice Build / publish (push) Successful in 25s

This commit is contained in:
olcxja 2026-05-11 19:20:16 +02:00
commit 33833c60ef
3 changed files with 6 additions and 6 deletions

View file

@ -133,13 +133,13 @@ public class Requests
if (!Utils.IsValidUsername(entry.name, out string message))
{
await context.Response.WriteAsync($"error:invalid.username.{{{message}}}");
await context.Response.WriteAsync(message);
return;
}
if (!Utils.IsValidPassword(entry.pass, out message))
{
await context.Response.WriteAsync($"error:invalid.password.{{{message}}}");
await context.Response.WriteAsync(message);
return;
}
@ -567,7 +567,7 @@ public class Requests
break;
default:
await context.Response.WriteAsync(Encryption.Encryption.EncryptString(
$"error:unknown.request.{{{serializedBody.string1}}}"
$"error:unknown.request:{serializedBody.string1}"
, password));
break;
}