Skip to content

Commit ed9fe82

Browse files
authored
Merge pull request #78567 from erhopf/translator-node
[CogSvcs] Fixing bug in translate sample for Nodejs. Specifically, if the qs pa…
2 parents 462b358 + cfb4744 commit ed9fe82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/cognitive-services/Translator/quickstart-nodejs-translate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ let options = {
7272
url: 'translate',
7373
qs: {
7474
'api-version': '3.0',
75-
'to': 'it',
76-
'to': 'de'
75+
'to': ['de', 'it']
7776
},
7877
headers: {
7978
'Ocp-Apim-Subscription-Key': subscriptionKey,

0 commit comments

Comments
 (0)