Google Sheets comme outil de création de rapport : API SheetsGo to Lab
got disconnected from the port towards the end and couldn't reconnect.
Please allow more time to attempt the same.
There is a bug in this labs section "Sync Data", as the code snippet uses the function "models.Spreadsheet.findByID" which was replaced in Sequelize version 5 by "models.Spreadsheet.findByPk"
not able to complete
Was getting 'models.Spreadsheet.findById is not a function' error in routes.js file Looked up same file in Git repo - replacing findById->findByPk fixed it.
Errors in code: models.Spreadsheet.findById(req.params.id) should have been models.Spreadsheet.findByPk(req.params.id)
Hey! That was nice. However I found a mistake that was easy to fix: when you're adding the sync functions, in `routes.js`, the function `findById()` won't work. That function was replaced by findByPk() in Sequelize v5. Thanks!