김수민

let->var

......@@ -2,6 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="5c08ae96-2f87-46c1-b81d-f30e494ce252" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/app.js" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -66,6 +67,10 @@
<workItem from="1574670031852" duration="24000" />
<workItem from="1575279295835" duration="451000" />
<workItem from="1575279962465" duration="48000" />
<workItem from="1575280149715" duration="770000" />
<workItem from="1575459081260" duration="382000" />
<workItem from="1575532808855" duration="131000" />
<workItem from="1575532969901" duration="12000" />
</task>
<servers />
</component>
......
......@@ -250,14 +250,14 @@ function handleEvent(event) {
result.text = objBody.message.result.translatedText;
//번역된 문자 audio로 저장
if (options.form.target == 'ko') {
let audio_options = {
var audio_options = {
'Text': result.text,
'OutputFormat': 'mp3',
'VoiceId': 'Amy',
"LanguageCode": 'ko-KR'
};
} else if (options.form.target == 'en') {
let audio_options = {
var audio_options = {
'Text': result.text,
'OutputFormat': 'mp3',
'VoiceId': 'Amy',
......