From 3935a8e25488658024f5ac5680f075f0f838e180 Mon Sep 17 00:00:00 2001 From: RudimentalHack Date: Tue, 5 Oct 2021 17:02:29 +0100 Subject: [PATCH] Update index.js { username, password, cookieStore } = {}, //Not really permenantly required since there is a `client.login(user, pass)` --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {