Skip to content
Snippets Groups Projects
Commit 6bdc549b authored by Quique's avatar Quique
Browse files

fix copypasta

parent 3e6f43b0
No related branches found
No related tags found
1 merge request!6fix copypasta and typos
......@@ -99,7 +99,7 @@ func (a *api) UpdateProduct(w http.ResponseWriter, req *http.Request) {
var product Product
err := json.NewDecoder(req.Body).Decode(&product)
if err != nil {
log.Printf("Can't decode memeber: %v", err)
log.Printf("Can't decode product: %v", err)
w.WriteHeader(http.StatusInternalServerError)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment