fix: correct AdminHandlers initialization and resolve duplicate brace syntax error

This commit is contained in:
GoHorse Deploy 2026-03-07 19:17:44 -03:00
parent 9541a0f71d
commit c7e6301661

View file

@ -137,7 +137,7 @@ func NewRouter() http.Handler {
settingsHandler := apiHandlers.NewSettingsHandler(settingsService)
credentialsHandler := apiHandlers.NewCredentialsHandler(credentialsService) // Added
storageHandler := apiHandlers.NewStorageHandler(storageService)
adminHandlers := apiHandlers.NewAdminHandlers(adminService, auditService, jobService, cloudflareService)
adminHandlers := apiHandlers.NewAdminHandlers(adminService, auditService, jobService, cloudflareService, notificationService)
locationHandlers := apiHandlers.NewLocationHandlers(locationService)
seederService := services.NewSeederService(database.DB)