김수민

let->var

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