New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: cb is not a function #105
Comments
cell.save is expecting a callback! |
While I personally feel like cell.save shouldn't fail if not given a callback, if that is the case then the README may need to be updated because it shows |
@theoephraim the demos show save without a calllback. You should upate the demos! |
interesting PR, but i think because it is async, allowing callbacks to be omitted would be more mis-leading to the user. It would give the impressions that those calls are sync. Although, the lack of callbacks in the readme example tripped me over, it was mentioned that the callbacks had been missed for berevity. However, i think including Happy to do a PR if you're happy to accept? |
I think it's still unintuitive considering most other asynchronous libraries do not require a callback for things like |
Made cell.save consistent with row.save in terms of requiring a callback (#105)
FYI - I've just a published a new version of this module which is a complete rewrite using Google's V4 Sheets API (v3 is being deprecated on March 3, 2020). YOU MUST MIGRATE IF YOU ARE STILL USING THIS PACKAGE! Docs available here - https://theoephraim.github.io/node-google-spreadsheet The new version is promise based and should be much cleaner. Thanks! 😄 |
Keep getting this error every time I try to update a cell value or use any functions (del, bulkUpdate, etc) for that matter.
The text was updated successfully, but these errors were encountered: