Skip to content

Commit

Permalink
Fixing sessionid variable name as proposed in sissue yatsenkolesh#40
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaultfq authored Oct 21, 2018
1 parent e508baf commit 2f9f274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ module.exports = class Instagram {
return fetch('https://www.instagram.com/accounts/login/ajax/', options).then(
t => {
this.updateEssentialValues(t.headers._headers['set-cookie'])
return this.essentialsValues.sessionId;
return this.essentialValues.sessionid;
}).catch(() =>
console.log('Instagram authentication failed (challenge required erro)')
)
Expand Down

0 comments on commit 2f9f274

Please sign in to comment.