fix: ajuste handler
This commit is contained in:
parent
c1c71643bb
commit
3b7bd6a181
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue