Fix falsely failing user id check
This commit is contained in:
@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user