From 775979a67b3e068113d0d4817fca2aa05c08a7c6 Mon Sep 17 00:00:00 2001 From: ansonfoong Date: Fri, 7 Jun 2019 12:06:14 -0400 Subject: [PATCH] Updated ReadME. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e38c4f..a226ea7 100644 --- a/README.md +++ b/README.md @@ -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!"); }); ```