Skip to content

Commit 7370822

Browse files
🤖 dprint fmt
1 parent 76325f4 commit 7370822

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

types/midtrans-client/midtrans-client-tests.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import * as midtransClient from 'midtrans-client';
1+
import * as midtransClient from "midtrans-client";
22

33
const snap = new midtransClient.Snap({
44
isProduction: false,
5-
serverKey: 'YOUR_SERVER_KEY',
6-
clientKey: 'YOUR_CLIENT_KEY',
5+
serverKey: "YOUR_SERVER_KEY",
6+
clientKey: "YOUR_CLIENT_KEY",
77
});
88

99
const parameters: midtransClient.SnapTransactionParameters = {
1010
transaction_details: {
11-
order_id: 'ORDER-ID-' + new Date().getTime(),
11+
order_id: "ORDER-ID-" + new Date().getTime(),
1212
gross_amount: 200000,
1313
},
1414
};
@@ -20,8 +20,8 @@ snap.createTransaction(parameters).then((transaction: midtransClient.SnapTransac
2020

2121
const core = new midtransClient.CoreApi({
2222
isProduction: false,
23-
serverKey: 'YOUR_SERVER_KEY',
24-
clientKey: 'YOUR_CLIENT_KEY',
23+
serverKey: "YOUR_SERVER_KEY",
24+
clientKey: "YOUR_CLIENT_KEY",
2525
});
2626

2727
core.charge({}).then((chargeResponse: any) => {

0 commit comments

Comments
 (0)