From 33b0cfbe45c73e4731f8aa13a1c681add6760325 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 18 Mar 2023 12:48:10 +0500 Subject: [PATCH] LogParsedProduct --- controllers/ParseController.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/ParseController.go b/controllers/ParseController.go index 054df43..b3a4fbc 100644 --- a/controllers/ParseController.go +++ b/controllers/ParseController.go @@ -79,6 +79,8 @@ func ParseLinkTY(link string,w http.ResponseWriter) { product, err := linkParser.ParseLink() + fmt.Println(product) + if err != nil { w.WriteHeader(http.StatusInternalServerError) json.NewEncoder(w).Encode(map[string]string{