We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3414ded commit af7b205Copy full SHA for af7b205
src/main/java/br/com/grupo63/serviceorder/usecase/order/OrderUseCase.java
@@ -37,7 +37,7 @@ private void fillCurrentPrices(Order order) throws NotFoundException {
37
38
@Override
39
public Order create(Order entity, Long clientId) throws NotFoundException {
40
- // identificationGateway.getById(clientId).orElseThrow(NotFoundException::new);
+ identificationGateway.getById(clientId).orElseThrow(NotFoundException::new);
41
42
fillCurrentPrices(entity);
43
return gateway.saveAndFlush(entity);
target/classes/br/com/grupo63/serviceorder/usecase/order/OrderUseCase.class
122 Bytes
0 commit comments