Skip to content

Commit

Permalink
final cleanup v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tkeburia committed Dec 11, 2023
1 parent 113cd97 commit 0844684
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public String placeOrder(OrderRequest orderRequest) {
return String.format("Order Number %s Placed Successfully", order.getOrderNumber());
}
else {
throw new IllegalArgumentException("Product is not in stock, please try again later");
return "Product is not in stock, please try again later";
}
}

Expand Down

0 comments on commit 0844684

Please sign in to comment.