From f80490f78b312969c0d19b20b40e21d849efb689 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 8 Dec 2022 16:00:32 +0500 Subject: [PATCH] ready link import fx 1 --- controllers/ParseController.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/ParseController.go b/controllers/ParseController.go index 5b8daa6..ed1b474 100644 --- a/controllers/ParseController.go +++ b/controllers/ParseController.go @@ -53,7 +53,7 @@ func ParseLink(w http.ResponseWriter, route *http.Request) { w.WriteHeader(http.StatusOK) json.NewEncoder(w).Encode(map[string]string{ "msg": "Link parsed successfully", - "productGroupId": strconv.Itoa(product.ProductGroupID), + "productGroupId": strconv.Itoa(product.ID), }) elapsed := time.Since(start) log.Printf("end parse took %s", elapsed)