From c2dc741152857dbe6504215192454d1c7533094d Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 9 Mar 2026 10:04:36 -0300 Subject: [PATCH] fix: resolve ghost syntax error in product_handler and stabilize backend --- backend/internal/http/handler/product_handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/internal/http/handler/product_handler.go b/backend/internal/http/handler/product_handler.go index ed1f582..385db12 100644 --- a/backend/internal/http/handler/product_handler.go +++ b/backend/internal/http/handler/product_handler.go @@ -227,6 +227,7 @@ func (h *Handler) SearchProducts(w http.ResponseWriter, r *http.Request) { expires := time.Now().AddDate(0, 0, days) filter.ExpiresAfter = &expires } + } if v := r.URL.Query().Get("expires_after"); v != "" { // Also support direct date if needed if t, err := time.Parse("2006-01-02", v); err == nil {