correct form item names

This commit is contained in:
Benjamin Palko 2025-01-17 11:39:34 -05:00
parent 102643dcc6
commit 4f23600e6d
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ export const actions = {
success: phoneSuccess,
data: phoneNumber,
error: phoneError,
} = zod.string().regex(PhoneRegex).safeParse(form.get('phone'));
} = zod.string().regex(PhoneRegex).safeParse(form.get('phoneNumber'));
if (!phoneSuccess) {
logger.error(phoneError);
return fail(400, { error: 'invalid_phone_number' });

View file

@ -34,7 +34,7 @@
<h2 class="text-2xl font-semibold">{messages.settings_category_twilio()}</h2>
<TextInput
defaultvalue={configs?.accountSID}
name="accountID"
name="accountSID"
placeholder="..."
bordered
fade