You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// AS-IS
In file book.js
var dataset = gcloud.datastore.dataset();
// TO BE
This is the corrected code -
var datastore = gcloud.datastore({
projectId: config.projectId,
keyFilename: config.keyFilename
});
The problem with this code is that datastore.dataset() is an invalid function and the entire dataset variable is not used in the code thereafter. probably got pasted from somewhere else ?
The text was updated successfully, but these errors were encountered:
// AS-IS
In file book.js
var dataset = gcloud.datastore.dataset();
// TO BE
This is the corrected code -
var datastore = gcloud.datastore({
projectId: config.projectId,
keyFilename: config.keyFilename
});
The problem with this code is that datastore.dataset() is an invalid function and the entire dataset variable is not used in the code thereafter. probably got pasted from somewhere else ?
The text was updated successfully, but these errors were encountered: