Notification updates
This commit is contained in:
@@ -123,6 +123,7 @@ const secretsSchema = z.object({
|
||||
postgres_password: z.string(),
|
||||
auth0_client_secret: z.string(),
|
||||
google_maps_api_key: z.string(),
|
||||
resend_api_key: z.string(),
|
||||
});
|
||||
|
||||
type Config = z.infer<typeof configSchema>;
|
||||
@@ -171,6 +172,7 @@ class ConfigurationLoader {
|
||||
'postgres-password',
|
||||
'auth0-client-secret',
|
||||
'google-maps-api-key',
|
||||
'resend-api-key',
|
||||
];
|
||||
|
||||
for (const secretFile of secretFiles) {
|
||||
@@ -227,6 +229,9 @@ class ConfigurationLoader {
|
||||
},
|
||||
};
|
||||
|
||||
// Set RESEND_API_KEY in environment for EmailService
|
||||
process.env['RESEND_API_KEY'] = secrets.resend_api_key;
|
||||
|
||||
logger.info('Configuration loaded successfully', {
|
||||
configSource: 'yaml',
|
||||
secretsSource: 'files',
|
||||
|
||||
Reference in New Issue
Block a user