mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
UBERF-9724: Use updated accounts (#8452)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -18,9 +18,6 @@ interface Config {
|
||||
EnterpriseHostname: string
|
||||
Port: number
|
||||
|
||||
MongoURL: string
|
||||
ConfigurationDB: string
|
||||
|
||||
CollaboratorURL: string
|
||||
|
||||
BotName: string
|
||||
@@ -50,9 +47,6 @@ const envMap: { [key in keyof Config]: string } = {
|
||||
AllowedWorkspaces: 'ALLOWED_WORKSPACES',
|
||||
BotName: 'BOT_NAME',
|
||||
|
||||
MongoURL: 'MONGO_URL',
|
||||
ConfigurationDB: 'MONGO_DB',
|
||||
|
||||
CollaboratorURL: 'COLLABORATOR_URL',
|
||||
|
||||
SentryDSN: 'SENTRY_DSN',
|
||||
@@ -75,9 +69,6 @@ const required: Array<keyof Config> = [
|
||||
'ClientSecret',
|
||||
'PrivateKey',
|
||||
|
||||
'MongoURL',
|
||||
'ConfigurationDB',
|
||||
|
||||
'CollaboratorURL',
|
||||
|
||||
'BotName'
|
||||
@@ -101,9 +92,6 @@ const config: Config = (() => {
|
||||
Port: parseInt(process.env[envMap.Port] ?? '3500'),
|
||||
BotName: process.env[envMap.BotName] ?? 'ao-huly-dev[bot]',
|
||||
|
||||
MongoURL: process.env[envMap.MongoURL],
|
||||
ConfigurationDB: process.env[envMap.ConfigurationDB] ?? '%github',
|
||||
|
||||
CollaboratorURL: process.env[envMap.CollaboratorURL],
|
||||
|
||||
SentryDSN: process.env[envMap.SentryDSN],
|
||||
|
||||
Reference in New Issue
Block a user