Skip to content

Commit

Permalink
rename AWS_SES_REGION to AWS_REGION
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 14, 2024
1 parent 2c39cba commit ba9e879
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
AWS_SES_ACCESS_KEY_ID=${{ secrets.AWS_SES_ACCESS_KEY_ID }}
AWS_SES_ACCESS_KEY_SECRET=${{ secrets.AWS_SES_ACCESS_KEY_SECRET }}
AWS_SES_DOMAIN=${{ secrets.AWS_SES_DOMAIN }}
AWS_SES_REGION=${{ secrets.AWS_REGION }}
AWS_REGION=${{ secrets.AWS_REGION }}
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
2 changes: 0 additions & 2 deletions api/src/modules/config/app-config.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { DatabaseModule } from '@api/modules/config/database/database.module';
import { resolveConfigPath } from '@api/modules/config/path-resolver';
import { JwtConfigHandler } from '@api/modules/config/auth-config.handler';

const DEFAULT_RELATIVE_PATH = '../../../../../../';

@Global()
@Module({
imports: [
Expand Down
2 changes: 1 addition & 1 deletion api/src/modules/config/app-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ApiConfigService {
secretAccessKey: this.configService.getOrThrow(
'AWS_SES_ACCESS_KEY_SECRET',
),
region: this.configService.getOrThrow('AWS_SES_REGION'),
region: this.configService.getOrThrow('AWS_REGION'),
domain: this.configService.getOrThrow('AWS_SES_DOMAIN'),
};
}
Expand Down
2 changes: 1 addition & 1 deletion shared/config/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN=2h
AWS_SES_ACCESS_KEY_ID=test
AWS_SES_ACCESS_KEY_SECRET=test
AWS_SES_DOMAIN=test
AWS_SES_REGION=test
AWS_REGION=test

0 comments on commit ba9e879

Please sign in to comment.