From 0e0616a189a493a0b955191fa16397644bff3e62 Mon Sep 17 00:00:00 2001 From: guiasis <57735271+guiasis@users.noreply.github.com> Date: Wed, 10 Jun 2020 16:23:28 -0300 Subject: [PATCH] Update chamada.js --- lib/api/chamada.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/chamada.js b/lib/api/chamada.js index 6fdcec6..577dc79 100644 --- a/lib/api/chamada.js +++ b/lib/api/chamada.js @@ -19,7 +19,7 @@ module.exports = function Chamada(httpClient) { return client.post(ROTA_CHAMADA, { numero_origem, numero_destino, - opcoes + ...opcoes }) } @@ -107,4 +107,4 @@ module.exports = function Chamada(httpClient) { }) } } - \ No newline at end of file +