desenvolvedor-io / dev-store

A microservices e-commerce reference application built with ASP.NET 6
https://devstore.academy
MIT License
1.05k stars 196 forks source link

When Last Order is null then Order API throw error #1

Closed brunobritodev closed 2 years ago

brunobritodev commented 3 years ago

At

PedidoQuery public async Task<PedidoDTO> ObterUltimoPedido(Guid clienteId)

It throws error if the Query return null. Usually after a successful order payment.

brunobritodev commented 2 years ago

solved at final version.