Browse Source
Task/remove deprecated public Stripe key (#6124)
* Remove deprecated public Stripe key
* Update changelog
pull/6134/head
Thomas Kaul
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
1 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/app/info/info.service.ts
-
apps/api/src/services/configuration/configuration.service.ts
-
apps/api/src/services/interfaces/environment.interface.ts
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Initialized the input properties in the _FIRE_ calculator |
|
|
|
- Removed the deprecated public _Stripe_ key |
|
|
|
- Upgraded `stripe` from version `18.5.0` to `20.1.0` |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
@ -93,7 +93,6 @@ export class InfoService { |
|
|
|
(await this.propertyService.getByKey<string[]>( |
|
|
|
PROPERTY_COUNTRIES_OF_SUBSCRIBERS |
|
|
|
)) ?? []; |
|
|
|
info.stripePublicKey = this.configurationService.get('STRIPE_PUBLIC_KEY'); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.configurationService.get('ENABLE_FEATURE_SYSTEM_MESSAGE')) { |
|
|
|
|
|
|
|
@ -102,7 +102,6 @@ export class ConfigurationService { |
|
|
|
ROOT_URL: url({ |
|
|
|
default: environment.rootUrl |
|
|
|
}), |
|
|
|
STRIPE_PUBLIC_KEY: str({ default: '' }), |
|
|
|
STRIPE_SECRET_KEY: str({ default: '' }), |
|
|
|
TWITTER_ACCESS_TOKEN: str({ default: 'dummyAccessToken' }), |
|
|
|
TWITTER_ACCESS_TOKEN_SECRET: str({ default: 'dummyAccessTokenSecret' }), |
|
|
|
|
|
|
|
@ -52,7 +52,6 @@ export interface Environment extends CleanedEnvAccessors { |
|
|
|
REDIS_PORT: number; |
|
|
|
REQUEST_TIMEOUT: number; |
|
|
|
ROOT_URL: string; |
|
|
|
STRIPE_PUBLIC_KEY: string; |
|
|
|
STRIPE_SECRET_KEY: string; |
|
|
|
TWITTER_ACCESS_TOKEN: string; |
|
|
|
TWITTER_ACCESS_TOKEN_SECRET: string; |
|
|
|
|