Skip to content

Commit 027924e

Browse files
committed
fix: lint
1 parent b4bccda commit 027924e

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

backend/src/database/repositories/integrationProgressRepository.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { QueryTypes } from 'sequelize'
2+
23
import { Repos } from '@/serverless/integrations/types/regularTypes'
34
import { GitHubStats } from '@/serverless/integrations/usecases/github/rest/getRemoteStats'
5+
46
import { IRepositoryOptions } from './IRepositoryOptions'
57
import SequelizeRepository from './sequelizeRepository'
68

@@ -81,10 +83,7 @@ class IntegrationProgressRepository {
8183
return (result[0] as any).id as string
8284
}
8385

84-
static async getDbStatsForGithub({}: {
85-
repos: Repos
86-
segments: string[]
87-
}): Promise<GitHubStats> {
86+
static async getDbStatsForGithub(): Promise<GitHubStats> {
8887
// const tb = new TinybirdClient()
8988

9089
// const promises: Promise<{ data: Counter }>[] = [

backend/src/services/integrationService.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,10 +2195,10 @@ export default class IntegrationService {
21952195
this.options.log.debug(
21962196
`Evaluating cache for repos: ${repos.map((r) => r.name).join(',')} and segments: ${segments}`,
21972197
)
2198-
cachedStats = await IntegrationProgressRepository.getDbStatsForGithub({
2199-
repos,
2200-
segments,
2201-
})
2198+
// cachedStats = await IntegrationProgressRepository.getDbStatsForGithub({
2199+
// repos,
2200+
// segments,
2201+
// })
22022202

22032203
this.options.log.debug(`Caching data: ${JSON.stringify(cachedStats)}`)
22042204
// cache for 1 minute

0 commit comments

Comments
 (0)