Skip to content

Commit

Permalink
datastore: update to v1beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Sawchuk committed Sep 28, 2015
1 parent 69046d3 commit 95e9fa4
Show file tree
Hide file tree
Showing 38 changed files with 4,560 additions and 982 deletions.
5 changes: 2 additions & 3 deletions lib/datastore/dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ var DatastoreRequest = require('./request.js');
* @private
*/
var SCOPES = [
'https://www.googleapis.com/auth/datastore',
'https://www.googleapis.com/auth/userinfo.email'
'https://www.googleapis.com/auth/datastore'
];

/**
Expand Down Expand Up @@ -136,7 +135,7 @@ nodeutil.inherits(Dataset, DatastoreRequest);
* @param {string=} options.apiEndpoint - Custom API endpoint.
*/
Dataset.determineApiEndpoint_ = function(options) {
var apiEndpoint = 'https://www.googleapis.com';
var apiEndpoint = 'https://datastore.googleapis.com';
var trailingSlashes = new RegExp('/*$');

if (options.apiEndpoint) {
Expand Down
Loading

0 comments on commit 95e9fa4

Please sign in to comment.