Ver a proveniência

Exception

master
Florian Eisenmenger há 1 ano
ascendente
cometimento
eb84fcc737
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/Mapper/PostingApiToEntityMapper.php

+ 1
- 1
src/Mapper/PostingApiToEntityMapper.php Ver ficheiro

@@ -46,7 +46,7 @@ class PostingApiToEntityMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
]);
if ($dto->product === null) {
throw new \Exception('Partner missing');
throw new \Exception('Product missing');
}
$product = $this->microMapper->map($dto->product, Product::class, [
MicroMapperInterface::MAX_DEPTH => 1,


Carregando…
Cancelar
Guardar