Skip to content

Commit 68b34b6

Browse files
author
James Thomas
committed
Fix query param to be tones not tone
1 parent 3ad07ac commit 68b34b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/tone_analyzer/v3-beta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ToneAnalyzer.prototype.tone = function(params, callback) {
6262
url: '/v3/tone',
6363
method: 'POST',
6464
body: params.text,
65-
qs: pick(params, ['tone', 'sentences'])
65+
qs: pick(params, ['tones', 'sentences'])
6666
},
6767
defaultOptions: extend(this._options, {
6868
headers: {

0 commit comments

Comments
 (0)