Skip to content

Commit

Permalink
updated FQDN's to googleapis.com with a trailing dot (#2214)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericuldall authored and callmehiphop committed Apr 14, 2017
1 parent c72fbe3 commit 12cd0c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-translate/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Translate(options) {
return new Translate(options);
}

var baseUrl = 'https://translation.googleapis.com/language/translate/v2';
var baseUrl = 'https://translation.googleapis.com./language/translate/v2';

if (process.env.GOOGLE_CLOUD_TRANSLATE_ENDPOINT) {
baseUrl = process.env.GOOGLE_CLOUD_TRANSLATE_ENDPOINT
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-translate/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('Translate', function() {
assert(translate instanceof FakeService);

var calledWith = translate.calledWith_[0];
var baseUrl = 'https://translation.googleapis.com/language/translate/v2';
var baseUrl = 'https://translation.googleapis.com./language/translate/v2';

assert.strictEqual(calledWith.baseUrl, baseUrl);
assert.deepEqual(calledWith.scopes, [
Expand Down

0 comments on commit 12cd0c6

Please sign in to comment.