This commit is contained in:
yuanhau 2025-06-14 21:43:21 +08:00
parent 85c3332c76
commit f1324ae0e4
2 changed files with 5 additions and 2 deletions

View file

@ -13,7 +13,7 @@ export default defineEventHandler(async (event) => {
if (body.jsonValue.length === 0) {
const clearBadDataRegex = /[@-_.+a-zA-Z0-9]{2,}/;
// Use Static values for now.
const requestChange = body.name;
const requestChange = body.action;
const apiKeyqq = body.value.match(clearBadDataRegex);
const allowedColumns = ["firstname", "email"];