diff --git a/backend/internal/cadastro_fot/handler.go b/backend/internal/cadastro_fot/handler.go index 4a164bf..9f5cbf7 100644 --- a/backend/internal/cadastro_fot/handler.go +++ b/backend/internal/cadastro_fot/handler.go @@ -1,6 +1,7 @@ package cadastro_fot import ( + "fmt" "net/http" "photum-backend/internal/db/generated" @@ -137,6 +138,7 @@ func (h *Handler) List(c *gin.Context) { regiao := c.GetString("regiao") var response []CadastroFotResponse + fmt.Printf("[DEBUG] List FOT - Regiao: %s, EmpresaID: %s\n", regiao, empresaID) if empresaID != "" { rows, err := h.service.ListByEmpresa(c.Request.Context(), empresaID, regiao)