UBERF-9724: Use updated accounts (#8452)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-04-14 09:36:20 +07:00
committed by GitHub
parent 143f0bc7b6
commit 5ca2a73fba
28 changed files with 1506 additions and 1153 deletions
-12
View File
@@ -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],