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

Commit

Permalink
Merge pull request #19 from Grupo-G03-4SOAT-FIAP/feature/125/k8s
Browse files Browse the repository at this point in the history
feat: preenche svc da API pag no ConfigMap
  • Loading branch information
dannevesdantas authored May 15, 2024
2 parents e079b0a + b107870 commit 3e09202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/production/bff/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ metadata:
data:
DB_NAME: "pagamentos"
DB_SSL: "false"
URL_API_PEDIDOS: ""
URL_API_PEDIDOS: "http://rms-api-pedidos.rms.svc.cluster.local:80/pedido"
IDEMPOTENCY_KEY_MERCADOPAGO: "a005986e-f97c-4274-91cf-b32d2672824f"
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 3e09202

Please sign in to comment.