From ea393a049c4aeeed06c92a208637862ecc777958 Mon Sep 17 00:00:00 2001 From: Matheus Reis <35343551+matheusgnreis@users.noreply.github.com> Date: Wed, 10 Jan 2024 16:29:44 -0300 Subject: [PATCH] chore: get log from body calculation --- functions/lib/correios-calculate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/lib/correios-calculate.js b/functions/lib/correios-calculate.js index 384fa7b..8908f43 100644 --- a/functions/lib/correios-calculate.js +++ b/functions/lib/correios-calculate.js @@ -90,6 +90,9 @@ const calculate = async ({ } return _params }) + if (storeId == 4566) { + console.log('Calc body', JSON.stringify(params)) + } return Promise.all([ correios.post('/preco/v1/nacional', { idLote: '1',