diff --git a/lib/index.js b/lib/index.js index 9060571..8d9e97f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -12,7 +12,7 @@ const baseUrl = 'https://www.instagram.com' class Instagram { constructor( - { username, password, cookieStore }, + { username, password, cookieStore } = {}, //Not really permenantly required since there is a `client.login(user, pass)` { language, proxy, requestOptions } = {} ) { this.credentials = {