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...")