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 +