start with action logger

This commit is contained in:
Robin Olsen
2026-03-02 23:06:34 +01:00
parent a8f8f63e88
commit 4debb69de7
3 changed files with 47 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ func New(ctx context.Context, config Config, opts ...Option) (*App, func(), erro
StartTime: time.Now(),
})
jsonStatService, err := NewStatisticsService(statStore)
jsonStatService, err := NewStatisticsService(statStore, b.logger)
if err != nil {
return nil, nil, err
}
@@ -58,8 +58,9 @@ func New(ctx context.Context, config Config, opts ...Option) (*App, func(), erro
Config: config,
Logger: b.logger,
Issues: b.issueService,
Stats: b.statsService,
Issues: b.issueService,
Stats: b.statsService,
ActionLogger: config.ActionLogger,
}
return app, b.lifecycle.Close, nil