Refactor handlers.NewApp

This commit is contained in:
2025-10-16 23:50:29 +02:00
parent fd24695764
commit ab0b102a81
2 changed files with 3 additions and 3 deletions

View File

@@ -22,11 +22,11 @@ type App struct {
LastSummary *FinalizedSummary
}
func NewApp(db *sql.DB, broker *Broker, finalizeUpdate chan struct{}) *App {
func NewApp(db *sql.DB, broker *Broker) *App {
return &App{
DB: db,
Broker: broker,
FinalizeUpdate: finalizeUpdate,
FinalizeUpdate: make(chan struct{}, 1),
}
}