Skip to content

Commit 079a717

Browse files
[Chore] update inquiry examples
1 parent 1f8604e commit 079a717

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
/**
22
* 잔액 조회 예제
33
*/
4-
const { SolapiMessageService } = require("solapi");
5-
const messageService = new SolapiMessageService("ENTER_YOUR_API_KEY", "ENTER_YOUR_API_SECRET");
4+
const {SolapiMessageService} = require('solapi');
5+
const messageService = new SolapiMessageService(
6+
'ENTER_YOUR_API_KEY',
7+
'ENTER_YOUR_API_SECRET',
8+
);
69

7-
messageService.getBalance().then(res => console.log(res));
10+
messageService.getBalance().then(res => {
11+
// 잔액 조회
12+
console.log(res.balance);
13+
14+
// 포인트 조회
15+
console.log(res.point);
16+
});

0 commit comments

Comments
 (0)