Skip to content
This repository was archived by the owner on May 18, 2020. It is now read-only.

Commit 0027967

Browse files
committed
modified readme
1 parent cbdeec9 commit 0027967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Assuming that you have installed this package, use below sample script to get st
5050
var sendinblue = require('../sendinblue-api');
5151
var sendinObj = new sendinblue('https://api.sendinblue.com/v2.0/', 'your_api_key', 5000); //Optional parameter: Timeout in MS
5252

53-
sendinObj.get_account().on('complete', function(data) {
54-
data = JSON.parse(data);
55-
console.log(data);
53+
var input = {};
54+
sendinObj.get_account(input, function(err, response){
55+
console.log(response);
5656
});
5757
```
5858

0 commit comments

Comments
 (0)