From 7dca0b8b9fda7db6cb4bcc12c9f280c6c2f2233f Mon Sep 17 00:00:00 2001 From: pallomabritoGN Date: Wed, 12 May 2021 18:31:39 -0400 Subject: [PATCH] =?UTF-8?q?Melhorias=20e=20corre=C3=A7oes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/pix/pix/pixSend.ts | 2 +- src/gn-constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pix/pix/pixSend.ts b/examples/pix/pix/pixSend.ts index 4f937b6..c80d140 100644 --- a/examples/pix/pix/pixSend.ts +++ b/examples/pix/pix/pixSend.ts @@ -15,4 +15,4 @@ const body = { const gerencianet = Gerencianet(options); -gerencianet.pixSend(body).then(console.log).catch(console.log).done(); +gerencianet.pixSend(null, body).then(console.log).catch(console.log).done(); diff --git a/src/gn-constants.ts b/src/gn-constants.ts index 505c0a3..04ed86c 100755 --- a/src/gn-constants.ts +++ b/src/gn-constants.ts @@ -176,7 +176,7 @@ export = { }, deletePlan: { route: '/plan/:id', - method: 'del', + method: 'delete', }, createSubscription: { route: '/plan/:id/subscription',