Skip to content

Commit

Permalink
make optional some not needed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSmolonski committed Jul 30, 2024
1 parent 227ead8 commit 827b46b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config/configuration.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export const RootConfigurationSchema = z.object({
EMAIL_TEMPLATE_RECOVERY_TX: z.string(),
EMAIL_TEMPLATE_UNKNOWN_RECOVERY_TX: z.string(),
EMAIL_TEMPLATE_VERIFICATION_CODE: z.string(),
INFURA_API_KEY: z.string(),
PUSH_NOTIFICATIONS_API_PROJECT: z.string(),
PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_CLIENT_EMAIL: z.string().email(),
PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_PRIVATE_KEY: z.string(),
RELAY_PROVIDER_API_KEY_ARBITRUM_ONE: z.string(),
INFURA_API_KEY: z.string().optional(),
PUSH_NOTIFICATIONS_API_PROJECT: z.string().optional(),
PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_CLIENT_EMAIL: z.string().email().optional(),
PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_PRIVATE_KEY: z.string().optional(),
RELAY_PROVIDER_API_KEY_ARBITRUM_ONE: z.string().optional(),
RELAY_PROVIDER_API_KEY_GNOSIS_CHAIN: z.string(),
RELAY_PROVIDER_API_KEY_SEPOLIA: z.string(),
});

0 comments on commit 827b46b

Please sign in to comment.