update
This commit is contained in:
@@ -124,7 +124,7 @@ func main() {
|
||||
http.Error(w, "failed to update inventory", http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
err := inventoryService.SendInventoryChanged(r.Context(), inventorySku, inventoryLocationId)
|
||||
err = inventoryService.SendInventoryChanged(r.Context(), inventorySku, inventoryLocationId)
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user