TypeError: undefined is not a function (near '...}).then(function (data, tab...')
kadanes opened this issue · comments
Parth commented
I am getting this error when trying to use the promises way to fetch data:
Tabletop.init({
key: "PRIVATE_KEY",
simpleSheet: true
}).then(function(data, tabletop) {
console.log(data);
})}
Parth commented
I was using an older version of Tabletop.js. Sorry.