Skip to content

Commit 895f882

Browse files
authored
Merge pull request #2 from jvoliveiraGN/main
Correção do verbo no endpoint deletePlan
2 parents ecc1cdf + c86b43c commit 895f882

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/pix/pix/pixSend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ const body = {
1515

1616
const gerencianet = Gerencianet(options);
1717

18-
gerencianet.pixSend(body).then(console.log).catch(console.log).done();
18+
gerencianet.pixSend(null, body).then(console.log).catch(console.log).done();

src/gn-constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export = {
176176
},
177177
deletePlan: {
178178
route: '/plan/:id',
179-
method: 'del',
179+
method: 'delete',
180180
},
181181
createSubscription: {
182182
route: '/plan/:id/subscription',

0 commit comments

Comments
 (0)