Skip to content

Commit 3898785

Browse files
author
Ammar Dodin
committed
🐛 fix base service url for speech-to-text
1 parent a3505b7 commit 3898785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

speech-to-text/v1-generated.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ class SpeechToTextV1 extends BaseService {
2929
name: string; // set by prototype to 'speech_to_text'
3030
version: string; // set by prototype to 'v1'
3131

32-
static URL: string = 'https://gateway.watsonplatform.net/speech-to-text/api';
32+
static URL: string = 'https://stream.watsonplatform.net/speech-to-text/api';
3333

3434
/**
3535
* Construct a SpeechToTextV1 object.
3636
*
3737
* @param {Object} options - Options for the service.
38-
* @param {String} [options.url] - The base url to use when contacting the service (e.g. 'https://gateway.watsonplatform.net/speech-to-text/api'). The base url may differ between Bluemix regions.
38+
* @param {String} [options.url] - The base url to use when contacting the service (e.g. 'https://stream.watsonplatform.net/speech-to-text/api'). The base url may differ between Bluemix regions.
3939
* @param {String} [options.username] - The username used to authenticate with the service. Username and password credentials are only required to run your application locally or outside of Bluemix. When running on Bluemix, the credentials will be automatically loaded from the `VCAP_SERVICES` environment variable.
4040
* @param {String} [options.password] - The password used to authenticate with the service. Username and password credentials are only required to run your application locally or outside of Bluemix. When running on Bluemix, the credentials will be automatically loaded from the `VCAP_SERVICES` environment variable.
4141
* @param {Boolean} [options.use_unauthenticated] - Set to `true` to avoid including an authorization header. This option may be useful for requests that are proxied.

0 commit comments

Comments
 (0)