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

Commit

Permalink
fix: correção no campo statusPagamento
Browse files Browse the repository at this point in the history
  • Loading branch information
dannevesdantas committed May 15, 2024
1 parent 7fe6b92 commit b107870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class ApiPedidosService implements IApiPedidosService {
async atualizarStatusPedido(idPedido: string): Promise<void> {
try {
await axios.put(`${this._urlApiPedidos}/${idPedido}`, {
pago: true,
statusPagamento: 'pago',
statusPedido: 'em_preparacao',
});
} catch (error) {
Expand Down

0 comments on commit b107870

Please sign in to comment.