Skip to content
Snippets Groups Projects
Commit 66de06eb authored by roxanne.grant's avatar roxanne.grant
Browse files

Moved http to root of ./services

parent a543c7b6
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ public class http {
@RequestMapping("/supplyStock")
public Product supplyStock(
@RequestParam(value = "idProduct", defaultValue = "1") int idProduct,
@RequestParam(value = "quantity", defaultValue = "10") int quantity) {
@RequestParam(value = "quantity", defaultValue = "50") int quantity) {
http.incrementId();
stockService.send(new EventAddProductQuantity(http.getId(), "Supplying ", idProduct, quantity));
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment