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',