feat(indexers): load custom definitions (#186)

This commit is contained in:
Ludvig Lundgren 2022-03-20 14:35:33 +01:00 committed by GitHub
parent 159133ef35
commit fdf69e6403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 147 additions and 14 deletions

View file

@ -80,7 +80,7 @@ func main() {
downloadClientService = download_client.NewService(downloadClientRepo)
actionService = action.NewService(actionRepo, downloadClientService, bus)
apiService = indexer.NewAPIService()
indexerService = indexer.NewService(indexerRepo, apiService)
indexerService = indexer.NewService(cfg, indexerRepo, apiService)
filterService = filter.NewService(filterRepo, actionRepo, apiService, indexerService)
releaseService = release.NewService(releaseRepo, actionService)
ircService = irc.NewService(ircRepo, filterService, indexerService, releaseService)