This should be fine actually

This commit is contained in:
2026-02-01 16:13:13 -07:00
parent b4309294e6
commit 35394228cc
11 changed files with 0 additions and 136 deletions

View File

@@ -37,13 +37,6 @@ export async function handler (context: Context) {
const userId = authResult.id
const body = context.body as Body
if (!body.newUsername) {
connection0.end()
return jsonResponse(
{ success: false, message: 'No new username provided' },
400
)
}
if (!/^[a-zA-Z0-9]{3,16}$/.test(body.newUsername)) {
connection0.end()