mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
Merge branch 'main' into bkellam/repo_index_manager_prom_metrics
This commit is contained in:
commit
d202368be5
1 changed files with 4 additions and 1 deletions
|
|
@ -49,8 +49,11 @@ export class GithubAppManager {
|
|||
public async init(db: PrismaClient) {
|
||||
this.db = db;
|
||||
const config = await loadConfig(env.CONFIG_PATH!);
|
||||
const githubApps = config.apps?.filter(app => app.type === 'githubApp') as GithubAppConfig[];
|
||||
if (!config.apps) {
|
||||
return;
|
||||
}
|
||||
|
||||
const githubApps = config.apps.filter(app => app.type === 'githubApp') as GithubAppConfig[];
|
||||
logger.info(`Found ${githubApps.length} GitHub apps in config`);
|
||||
|
||||
for (const app of githubApps) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue