Skip to content

Commit

Permalink
Updated ReadME.
Browse files Browse the repository at this point in the history
  • Loading branch information
ansonfoong committed Jun 7, 2019
1 parent 7e656e3 commit 775979a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ An Object Oriented, Promise-Based library that wraps around the CDTA Web API.

# Basic Usage
```JS
const { CDTA } = require('cdta.js');
const { CDTA } = require('cdta');
const client = new CDTA('your api key');

client.on('error', err => {
console.log(err);
});

client.on('authorized', {
client.on('authorized', () => {
console.log("Authorized!");
});
```
Expand Down

0 comments on commit 775979a

Please sign in to comment.