Skip to content

Commit

Permalink
Revert "updated FQDN's to googleapis.com with a trailing dot (#2214)" (
Browse files Browse the repository at this point in the history
…#2283)

This reverts commit 13d4ed5.
  • Loading branch information
stephenplusplus authored May 9, 2017
1 parent 74cc09f commit a25ab06
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 a25ab06

Please sign in to comment.