Skip to content

Commit

Permalink
fix: examples
Browse files Browse the repository at this point in the history
  • Loading branch information
crisog committed Oct 16, 2024
1 parent 9e1ec14 commit 013eb1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/3ds-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const azul = new AzulAPI({
auth1: process.env.AUTH1!,
auth2: process.env.AUTH2!,
merchantId: process.env.MERCHANT_ID!,
certificatePath: process.env.CERTIFICATE_PATH!,
keyPath: process.env.KEY_PATH!
certificate: process.env.AZUL_CERT!,
key: process.env.AZUL_KEY!
});

app.get('/', (req, res) => {
Expand Down
4 changes: 2 additions & 2 deletions examples/api-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const azul = new AzulAPI({
auth1: process.env.AUTH1!,
auth2: process.env.AUTH2!,
merchantId: process.env.MERCHANT_ID!,
certificatePath: process.env.CERTIFICATE_PATH!,
keyPath: process.env.KEY_PATH!
certificate: process.env.AZUL_CERT!,
key: process.env.AZUL_KEY!
});

app.get('/buy-ticket', async (req, res) => {
Expand Down

0 comments on commit 013eb1a

Please sign in to comment.