Commit 103c11c8 authored by Martin Baron's avatar Martin Baron
Browse files

Merge branch 'PA-165-hotfix' into 'master'

[MZ] hotfix

See merge request !48
parents c6fb393b 0e0cd4bd
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ public class Mapper {
        productDTO.setQuantity(wineById.getQuantityAvailable());
        productDTO.setPrice(wineById.getPrice());

        return new ProductDTO(wineById.getProductName(), wineById.getDescription(), wineById.getQuantityAvailable(), wineById.getProductCode());
        return productDTO;
    }

    public Transaction mapTransactionDtoToTransaction(TransactionDTO transactionDTO) {