Skip to content

Commit af7b205

Browse files
committed
fix: missing identification gateway call
1 parent 3414ded commit af7b205

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/main/java/br/com/grupo63/serviceorder/usecase/order/OrderUseCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private void fillCurrentPrices(Order order) throws NotFoundException {
3737

3838
@Override
3939
public Order create(Order entity, Long clientId) throws NotFoundException {
40-
// identificationGateway.getById(clientId).orElseThrow(NotFoundException::new);
40+
identificationGateway.getById(clientId).orElseThrow(NotFoundException::new);
4141

4242
fillCurrentPrices(entity);
4343
return gateway.saveAndFlush(entity);
122 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)