remove TWILIO env vars
This commit is contained in:
parent
6817bbd3d4
commit
26eb93dbab
2 changed files with 0 additions and 9 deletions
|
|
@ -1,12 +1,8 @@
|
|||
import { z } from 'zod';
|
||||
import { PhoneRegex } from '../src/lib/regex/phone';
|
||||
|
||||
const ValidateEnvironment = () => {
|
||||
const { success, error } = z
|
||||
.object({
|
||||
TWILIO_ACCOUNT_SID: z.string().min(1),
|
||||
TWILIO_AUTH_TOKEN: z.string().min(1),
|
||||
TWILIO_PHONE_NUMBER: z.string().regex(PhoneRegex),
|
||||
SECRETS_PASSWORD: z.string().length(32),
|
||||
SECRETS_SALT: z.string().min(16),
|
||||
SECRETS_IV_POSITION: z.string().transform((val, ctx) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue