41 create tenant twilio config #62
2 changed files with 2 additions and 2 deletions
|
|
@ -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' });
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue