before parse update

This commit is contained in:
merdan 2022-09-15 16:53:40 +05:00
parent 6f15ab867e
commit 2185f7f03c
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,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(int(productFlat.ProductID)),
"productGroupId": strconv.Itoa(product.ProductGroupID),
})
elapsed := time.Since(start)
log.Printf("end parse took %s", elapsed)