Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #119 from Grupo-G03-4SOAT-FIAP/bugfix/75/status-pe…
Browse files Browse the repository at this point in the history
…dido

fix: Corrige casting de string para enum
  • Loading branch information
dannevesdantas authored Jan 29, 2024
2 parents b426d41 + f5cd45b commit 03dfa58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/sql/factories/sql.dto.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class SQLDTOFactory {

return new PedidoEntity(
itensPedido,
StatusPedido[pedido.statusPedido],
pedido.statusPedido as StatusPedido,
pedido.numeroPedido,
pedido.pago,
clienteEntity,
Expand Down

0 comments on commit 03dfa58

Please sign in to comment.