Skip to content

Commit

Permalink
fix: EMAIL_API_KEY renamed to SENDGRID_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzeranov committed Feb 11, 2025
1 parent 0caafba commit cd37bb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/apps/reputation-oracle/server/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ S3_BUCKET=reputation
S3_USE_SSL=false

# Email
EMAIL_API_KEY=
SENDGRID_API_KEY=
EMAIL_FROM=[email protected]
EMAIL_FROM_NAME="Reputation oracle"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class EmailConfigService {
* Default: 'disabled'
*/
get apiKey(): string {
return this.configService.get<string>('EMAIL_API_KEY', 'disabled');
return this.configService.get<string>('SENDGRID_API_KEY', 'disabled');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const envValidator = Joi.object({
S3_BUCKET: Joi.string(),
S3_USE_SSL: Joi.string(),
// Email
EMAIL_API_KEY: Joi.string(),
SENDGRID_API_KEY: Joi.string(),
EMAIL_FROM: Joi.string(),
EMAIL_FROM_NAME: Joi.string(),
// Reputation Level
Expand Down

0 comments on commit cd37bb1

Please sign in to comment.