Closed PixelNinja132 closed 4 years ago
const jsonstoreclient = require('async-jsonstore-io')
const jsonstore = new jsonstoreclient('d126e786636caeb6f461335a0c2f6a938c082e763c87482f5a4ac8f55abf35b0')
jsonstore.get('1')
This returns that jsonstore.get is not a function
Turns out that after a new update, get has been turned to fetch without and depreciation warnings. Sorry
After requiring jsonstore, then creating a new client, without error, when I use jsonstore, apparently, jsonstore.get is not a function along with all others except .delete which works.