diff --git a/components/app/windows/tos.vue b/components/app/windows/tos.vue index c05d3dd..d5b8323 100644 --- a/components/app/windows/tos.vue +++ b/components/app/windows/tos.vue @@ -2,5 +2,8 @@ const { t } = useI18n(); diff --git a/server/api/user/sendUserChanges.post.ts b/server/api/user/sendUserChanges.post.ts index 6c18f9c..c8a683b 100644 --- a/server/api/user/sendUserChanges.post.ts +++ b/server/api/user/sendUserChanges.post.ts @@ -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"];