Skip to content

Commit 0f2328c

Browse files
committed
fix: repositories fetched
1 parent e4d0136 commit 0f2328c

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

backend/src/services/collectionService.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,16 @@ export class CollectionService extends LoggerBase {
413413
}
414414
}
415415

416+
if (i.platform === PlatformType.GITHUB_NANGO) {
417+
for (const org of (i.settings as any).orgs) {
418+
for (const repo of org.repos) {
419+
const label = `${org.name}/${repo.name}`
420+
const fullUrl = `https://github.com/${label}`
421+
addToResult(PlatformType.GITHUB, fullUrl, label)
422+
}
423+
}
424+
}
425+
416426
if (i.platform === PlatformType.GIT) {
417427
for (const r of (i.settings as any).remotes) {
418428
let label = r

frontend/src/modules/admin/modules/insights-projects/components/lf-insights-project-add.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ const onProjectSelection = ({ project }: any) => {
222222
form.logoUrl = project.url;
223223
}
224224
225+
form.repositories = initialFormState.repositories;
225226
form.segmentId = project.id;
226227
});
227228
};

0 commit comments

Comments
 (0)