Skip to content

Commit 95e9fa4

Browse files
datastore: update to v1beta3
1 parent 69046d3 commit 95e9fa4

38 files changed

+4560
-982
lines changed

lib/datastore/dataset.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ var DatastoreRequest = require('./request.js');
6060
* @private
6161
*/
6262
var SCOPES = [
63-
'https://www.googleapis.com/auth/datastore',
64-
'https://www.googleapis.com/auth/userinfo.email'
63+
'https://www.googleapis.com/auth/datastore'
6564
];
6665

6766
/**
@@ -136,7 +135,7 @@ nodeutil.inherits(Dataset, DatastoreRequest);
136135
* @param {string=} options.apiEndpoint - Custom API endpoint.
137136
*/
138137
Dataset.determineApiEndpoint_ = function(options) {
139-
var apiEndpoint = 'https://www.googleapis.com';
138+
var apiEndpoint = 'https://datastore.googleapis.com';
140139
var trailingSlashes = new RegExp('/*$');
141140

142141
if (options.apiEndpoint) {

0 commit comments

Comments
 (0)