From 68948e3c968a1e32fa46b5f64215cd58d1ea2e10 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 9 Mar 2026 09:26:44 -0300 Subject: [PATCH] fix: geocode sync tool method call --- backend/cmd/geocode_sync/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/cmd/geocode_sync/main.go b/backend/cmd/geocode_sync/main.go index c169d54..ad4d59d 100644 --- a/backend/cmd/geocode_sync/main.go +++ b/backend/cmd/geocode_sync/main.go @@ -29,6 +29,7 @@ func main() { mapboxClient := mapbox.New(cfg.MapboxAccessToken) notifySvc := notifications.NewLoggerNotificationService() + // Correct parameters for NewService: repo, pay, mapbox, notify, commission, buyerFee, jwtSecret, ttl, pepper svc := usecase.NewService(repo, nil, mapboxClient, notifySvc, 12.0, 0.06, cfg.JWTSecret, cfg.JWTExpiresIn, cfg.PasswordPepper) fmt.Println("Starting retroactive geocode sync...")