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)