We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d14b8c commit 595e2fcCopy full SHA for 595e2fc
api/src/digest/cron.ts
@@ -80,6 +80,11 @@ export class DigestCron {
80
runId,
81
id: project.slug,
82
});
83
+ searchProjectItems.push({
84
+ id: project.slug.replace(/[.]/g, "-"), // MeiliSearch doesn't allow dots in ids
85
+ title: project.name,
86
+ type: "project",
87
+ });
88
89
let addedRepositoryCount = 0;
90
try {
@@ -102,11 +107,6 @@ export class DigestCron {
102
107
stars: repoInfo.stargazers_count,
103
108
id: `${provider}-${repoInfo.id}`,
104
109
105
- searchProjectItems.push({
106
- id: `${provider}-${repoInfo.id}`,
- title: repoInfo.name,
- type: "project",
- });
110
addedRepositoryCount++;
111
112
const issues = await this.githubService.listRepositoryIssues({
0 commit comments