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{