Skip to content

Commit ff03cd2

Browse files
Thibaultfqyatsenkolesh
authored andcommitted
Fixing sessionid variable name as proposed in sissue #40 (#45)
1 parent e508baf commit ff03cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instagram.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ module.exports = class Instagram {
297297
return fetch('https://www.instagram.com/accounts/login/ajax/', options).then(
298298
t => {
299299
this.updateEssentialValues(t.headers._headers['set-cookie'])
300-
return this.essentialsValues.sessionId;
300+
return this.essentialValues.sessionid;
301301
}).catch(() =>
302302
console.log('Instagram authentication failed (challenge required erro)')
303303
)

0 commit comments

Comments
 (0)