in todos.js [89:108]
get: function (id, callback) {
const key = datastore.key(['TodoList', LIST_NAME, 'Todo', id]);
datastore.get(key, function (err, item) {
if (err) {
callback(err);
return;
}
if (!item) {
callback({ // eslint-disable-line
code: 404,
message: 'No matching entity was found.'
});
return;
}
callback(null, entityToTodo(item));
});
},