Skip to content

Commit 9477ef4

Browse files
committed
making callback url optional for stt createRecognitionJob
1 parent fbf9d9b commit 9477ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech-to-text/v1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ SpeechToTextV1.prototype.registerCallback = function(params, callback) {
138138
* @returns {ReadableStream|undefined}
139139
*/
140140
SpeechToTextV1.prototype.createRecognitionJob = function(params, callback) {
141-
const missingParams = helper.getMissingParams(params, ['callback_url', 'audio', 'content_type']);
141+
const missingParams = helper.getMissingParams(params, ['audio', 'content_type']);
142142
if (missingParams) {
143143
callback(missingParams);
144144
return;

0 commit comments

Comments
 (0)