Skip to content

Commit 92d8885

Browse files
authored
Merge pull request #19 from ricardojudo/master
FIX. Model param name in QUERY_PARAMS_ALLOWED constant
2 parents faa55ff + ee0ce11 commit 92d8885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech-to-text/recognize-stream.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var qs = require('../util/querystring.js');
2828
var OPENING_MESSAGE_PARAMS_ALLOWED = ['continuous', 'max_alternatives', 'timestamps', 'word_confidence', 'inactivity_timeout',
2929
'content-type', 'interim_results', 'keywords', 'keywords_threshold', 'word_alternatives_threshold', 'profanity_filter', 'smart_formatting'];
3030

31-
var QUERY_PARAMS_ALLOWED = ['customization_id',' model', 'watson-token']; // , 'X-Watson-Learning-Opt-Out' - should be allowed but currently isn't due to a service bug
31+
var QUERY_PARAMS_ALLOWED = ['customization_id','model', 'watson-token']; // , 'X-Watson-Learning-Opt-Out' - should be allowed but currently isn't due to a service bug
3232

3333

3434
/**

0 commit comments

Comments
 (0)