Skip to content

Commit

Permalink
Merge pull request #19 from ricardojudo/master
Browse files Browse the repository at this point in the history
FIX. Model param name in QUERY_PARAMS_ALLOWED constant
  • Loading branch information
nfriedly authored Oct 19, 2016
2 parents faa55ff + ee0ce11 commit 92d8885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speech-to-text/recognize-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var qs = require('../util/querystring.js');
var OPENING_MESSAGE_PARAMS_ALLOWED = ['continuous', 'max_alternatives', 'timestamps', 'word_confidence', 'inactivity_timeout',
'content-type', 'interim_results', 'keywords', 'keywords_threshold', 'word_alternatives_threshold', 'profanity_filter', 'smart_formatting'];

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
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


/**
Expand Down

0 comments on commit 92d8885

Please sign in to comment.