pikachub2005 / replapi-it

A node package that can do anything replit
https://replit.com/@PikachuB2005/replapi-it
9 stars 4 forks source link

Not working... #5

Open techwithanirudh opened 1 year ago

techwithanirudh commented 1 year ago

/home/runner/Replit-Followers-Bio/node_modules/replapi-it/src/index.js:41 if (!data[0].currentUser) throw new Error('SID is invalid'); ^

TypeError: Cannot read properties of undefined (reading 'currentUser') at /home/runner/Replit-Followers-Bio/node_modules/replapi-it/src/index.js:41:17 repl process died unexpectedly: exit status 1 

pikachub2005 commented 1 year ago

Probably Replit changing the API again ¯\_(ツ)_/¯ I'll take a look

neverUsedGithub commented 1 year ago

Looks like the device field was removed from the currentUser object. Removing it seems to fix the issue.

gooddavvy commented 1 year ago

I seem to have the same issue.