mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
uberf-7927: get rid of product id (#6375)
This commit is contained in:
@@ -26,8 +26,6 @@ interface Config {
|
||||
|
||||
CollaboratorURL: string
|
||||
|
||||
ProductID: string
|
||||
|
||||
BotName: string
|
||||
|
||||
SentryDSN: string
|
||||
@@ -56,8 +54,6 @@ const envMap: { [key in keyof Config]: string } = {
|
||||
|
||||
CollaboratorURL: 'COLLABORATOR_URL',
|
||||
|
||||
ProductID: 'PRODUCT_ID',
|
||||
|
||||
SentryDSN: 'SENTRY_DSN',
|
||||
BrandingPath: 'BRANDING_PATH'
|
||||
}
|
||||
@@ -78,7 +74,6 @@ const required: Array<keyof Config> = [
|
||||
|
||||
'CollaboratorURL',
|
||||
|
||||
'ProductID',
|
||||
'BotName'
|
||||
]
|
||||
|
||||
@@ -106,8 +101,6 @@ const config: Config = (() => {
|
||||
|
||||
CollaboratorURL: process.env[envMap.CollaboratorURL],
|
||||
|
||||
ProductID: process.env[envMap.ProductID] ?? '',
|
||||
|
||||
SentryDSN: process.env[envMap.SentryDSN],
|
||||
BrandingPath: process.env[envMap.BrandingPath] ?? ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user