From c7e6301661a410b2f97c73816833df9042c63efb Mon Sep 17 00:00:00 2001 From: GoHorse Deploy Date: Sat, 7 Mar 2026 19:17:44 -0300 Subject: [PATCH] fix: correct AdminHandlers initialization and resolve duplicate brace syntax error --- backend/internal/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/router/router.go b/backend/internal/router/router.go index 9b02a8a..88973ce 100755 --- a/backend/internal/router/router.go +++ b/backend/internal/router/router.go @@ -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)