Skip to content

Commit

Permalink
Merge pull request #2 from jvoliveiraGN/main
Browse files Browse the repository at this point in the history
Correção do verbo no endpoint deletePlan
  • Loading branch information
jvoliveiraGN authored May 13, 2021
2 parents ecc1cdf + c86b43c commit 895f882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/pix/pix/pixSend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
2 changes: 1 addition & 1 deletion src/gn-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export = {
},
deletePlan: {
route: '/plan/:id',
method: 'del',
method: 'delete',
},
createSubscription: {
route: '/plan/:id/subscription',
Expand Down

0 comments on commit 895f882

Please sign in to comment.