Fix falsely failing user id check

This commit is contained in:
Regalijan 2024-02-27 23:56:46 -05:00
parent 16617eca72
commit 6f2d91f504
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -13,7 +13,7 @@ export async function onRequestDelete(context: RequestContext) {
if (
typeof id !== "string" ||
id.search(/\D/) ||
id.match(/\D/) ||
id.length > 19 ||
id.length < 17
)